From 2e82a0b817b2c327fd95fff1736b15fade5eb92e Mon Sep 17 00:00:00 2001 From: yannickreiss Date: Mon, 2 Oct 2023 07:37:56 +0200 Subject: [PATCH] move snippets to front of code completion --- lua/code-completion.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/code-completion.lua b/lua/code-completion.lua index 6ec690e..5444f5b 100644 --- a/lua/code-completion.lua +++ b/lua/code-completion.lua @@ -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 } }, }),