From 45c45e7648fd4447595df512baf14680a7daa0fa Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Mon, 30 Sep 2024 13:38:09 -0500 Subject: [PATCH] refactor(nvim): reorder priorities of cmp completions --- .../.config/nvim/lua/plugins/configs/cmp.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua b/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua index 8e2d9b27..38348658 100644 --- a/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/users/price/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -139,6 +139,14 @@ return { { name = "lazydev", group_index = 0 }, { name = "nvim_lsp" }, { name = "luasnip", max_item_count = 5 }, -- For luasnip users. + { name = "calc" }, + { name = "emoji", keyword_length = 2, max_item_count = 10 }, + { + name = "lua-latex-symbols", + option = { cache = true }, + max_item_count = 5, + trigger_characters = { "\\" }, + }, { name = "fuzzy_buffer", max_item_count = 5, @@ -153,15 +161,7 @@ return { "--max-depth 4", }, }, - { - name = "lua-latex-symbols", - option = { cache = true }, - max_item_count = 5, - trigger_characters = { "\\" }, - }, { name = "zsh", max_item_count = 5 }, - { name = "emoji", keyword_length = 2, max_item_count = 10 }, - { name = "calc" }, { name = "npm", keyword_length = 2 }, }