fix: remove emoji suggesstions from lsp
This commit is contained in:
parent
2bbcfef465
commit
3aac3ed04d
@ -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]"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user