From 03359ac3c6a2d2f84f5d518156d2ad3f43c22943 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Mon, 23 Dec 2024 20:27:27 +0100 Subject: [PATCH] treesitter-cmp: disable on blink.cmp --- modules/plugins/treesitter/config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"]; };