treesitter: disable on blink.cmp

This commit is contained in:
Ching Pei Yang 2025-01-11 21:04:50 +01:00
parent df5dc52199
commit 4cf09e4a22
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -20,7 +20,8 @@ in {
vim = {
startPlugins = ["nvim-treesitter"];
autocomplete.nvim-cmp = {
# cmp-treesitter doesn't work on blink.cmp
autocomplete.nvim-cmp = mkIf config.vim.autocomplete.nvim-cmp.enable {
sources = {treesitter = "[Treesitter]";};
sourcePlugins = ["cmp-treesitter"];
};