diff --git a/lua/config/cmp.lua b/lua/config/cmp.lua index e3f9f77..400a46b 100644 --- a/lua/config/cmp.lua +++ b/lua/config/cmp.lua @@ -50,11 +50,10 @@ cmp.setup{ end, { "i", "s" }), }, sources = { - { name = 'emoji', max_item_count = 10, keyword_length = 5 }, { name = 'nvim_lua' }, - { name = 'cmp_tabnine' }, { name = 'nvim_lsp', max_item_count = 20 }, + { name = 'cmp_tabnine' }, { name = 'path' }, { name = 'luasnip' }, { name = 'buffer', max_item_count = 10, keyword_length = 5 }, @@ -69,7 +68,6 @@ cmp.setup{ nvim_lua = "[api]", path = "[path]", luasnip = "[snip]", - emoji = "[emoji]" } } }, diff --git a/lua/plugins.lua b/lua/plugins.lua index c1379c8..fd433a4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -162,7 +162,6 @@ local function usePlugins(use, use_rocks) use {'hrsh7th/cmp-buffer', after = 'nvim-cmp', requires = 'hrsh7th/nvim-cmp'} use {'hrsh7th/cmp-path', after = 'nvim-cmp', requires = 'hrsh7th/nvim-cmp'} use {'hrsh7th/cmp-cmdline', after = 'nvim-cmp', requires = 'hrsh7th/nvim-cmp'} - use {'hrsh7th/cmp-emoji', after = 'nvim-cmp', requires = 'hrsh7th/nvim-cmp'} use {'saadparwaiz1/cmp_luasnip', after = 'nvim-cmp', requires = {'L3MON4D3/LuaSnip', 'nvim-cmp'}} -- Better diagnostics viewer @@ -274,4 +273,3 @@ local plugins = setmetatable({}, { }) return plugins -