diff --git a/modules/plugins/treesitter/config.nix b/modules/plugins/treesitter/config.nix index b7d8c177..fcae3c5c 100644 --- a/modules/plugins/treesitter/config.nix +++ b/modules/plugins/treesitter/config.nix @@ -20,7 +20,8 @@ in { vim = { startPlugins = ["nvim-treesitter"]; - autocomplete = { + # cmp-treesitter doesn't work on blink.cmp + autocomplete = mkIf config.vim.autocomplete.nvim-cmp.enable { nvim-cmp.sources = {treesitter = "[Treesitter]";}; sourcePlugins = ["cmp-treesitter"]; };