move snippets to front of code completion
This commit is contained in:
parent
07b8c4f0af
commit
2e82a0b817
|
@ -45,12 +45,12 @@ cmp.setup({
|
|||
|
||||
-- installed sources for code suggestion
|
||||
sources = cmp.config.sources({
|
||||
{ name = "ultisnips", keyword_length = 1 },
|
||||
{ name = "path" },
|
||||
{ name = "nvim_lsp", keyword_length = 1 },
|
||||
{ name = "nvim_lsp_signature_help" },
|
||||
{ name = "nvim_lua", keyword_length = 1 },
|
||||
{ name = "buffer", keyword_length = 2 },
|
||||
{ name = "ultisnips", keyword_length = 1 },
|
||||
{ name = "calc" },
|
||||
{ name = "lua-latex-symbols", option = { cache = true } },
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue