diff --git a/lua/my_plugins.lua b/lua/my_plugins.lua index 25a6c1f..234367d 100644 --- a/lua/my_plugins.lua +++ b/lua/my_plugins.lua @@ -93,6 +93,7 @@ return require('packer').startup(function() { 'f3fora/cmp-spell', after = 'nvim-cmp' }, { 'hrsh7th/cmp-emoji', after = 'nvim-cmp' }, { 'hrsh7th/cmp-cmdline', after = 'nvim-cmp' }, + { 'ray-x/cmp-treesitter', after = 'nvim-cmp'} }, config = get_setup('cmp'), }) diff --git a/lua/setup/cmp.lua b/lua/setup/cmp.lua index 2936411..28ae822 100644 --- a/lua/setup/cmp.lua +++ b/lua/setup/cmp.lua @@ -72,6 +72,7 @@ cmp.setup({ sources = { { name = 'luasnip' }, { name = 'nvim_lsp' }, + { name = 'treesitter' }, { name = 'buffer' }, { name = 'nvim_lua' }, { name = 'look' },