Skip to content

Commit 2c54ecd

Browse files
authored
Merge pull request #536 from horriblename/telescope-extensions-workaround
telescope: workaround nixpkgs extensions breaking :Telescope
2 parents c09ae38 + 752915e commit 2c54ecd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

modules/plugins/utility/telescope/config.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ in {
2222
package = "telescope";
2323
setupModule = "telescope";
2424
inherit (cfg) setupOpts;
25+
26+
# HACK: workaround until https://github.com/NotAShelf/nvf/issues/535 gets resolved
27+
before = ''
28+
vim.g.loaded_telescope = nil
29+
'';
30+
2531
after = ''
2632
local telescope = require("telescope")
2733
${optionalString config.vim.ui.noice.enable "telescope.load_extension('noice')"}

0 commit comments

Comments
 (0)