1
0

fix: remove emoji suggesstions from lsp

This commit is contained in:
Rokas Puzonas 2022-01-31 00:45:33 +02:00
parent 2bbcfef465
commit 3aac3ed04d
2 changed files with 1 additions and 5 deletions

View File

@ -50,11 +50,10 @@ cmp.setup{
end, { "i", "s" }), end, { "i", "s" }),
}, },
sources = { sources = {
{ name = 'emoji', max_item_count = 10, keyword_length = 5 },
{ name = 'nvim_lua' }, { name = 'nvim_lua' },
{ name = 'cmp_tabnine' },
{ name = 'nvim_lsp', max_item_count = 20 }, { name = 'nvim_lsp', max_item_count = 20 },
{ name = 'cmp_tabnine' },
{ name = 'path' }, { name = 'path' },
{ name = 'luasnip' }, { name = 'luasnip' },
{ name = 'buffer', max_item_count = 10, keyword_length = 5 }, { name = 'buffer', max_item_count = 10, keyword_length = 5 },
@ -69,7 +68,6 @@ cmp.setup{
nvim_lua = "[api]", nvim_lua = "[api]",
path = "[path]", path = "[path]",
luasnip = "[snip]", luasnip = "[snip]",
emoji = "[emoji]"
} }
} }
}, },

View File

@ -162,7 +162,6 @@ local function usePlugins(use, use_rocks)
use {'hrsh7th/cmp-buffer', after = 'nvim-cmp', requires = 'hrsh7th/nvim-cmp'} 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-path', after = 'nvim-cmp', requires = 'hrsh7th/nvim-cmp'}
use {'hrsh7th/cmp-cmdline', 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'}} use {'saadparwaiz1/cmp_luasnip', after = 'nvim-cmp', requires = {'L3MON4D3/LuaSnip', 'nvim-cmp'}}
-- Better diagnostics viewer -- Better diagnostics viewer
@ -274,4 +273,3 @@ local plugins = setmetatable({}, {
}) })
return plugins return plugins