move snippets to front of code completion

This commit is contained in:
Yannick Reiß 2023-10-02 07:37:56 +02:00
parent 07b8c4f0af
commit 2e82a0b817
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
1 changed files with 1 additions and 1 deletions

View File

@ -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 } },
}),