From 362771dcd0b228674d33b4d4cd976386c468d853 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Wed, 27 Sep 2023 17:09:22 -0500 Subject: [PATCH] refactor(nvim): set priority for some sources in cmp --- dots/.config/nvim/lua/plugins/configs/cmp.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/cmp.lua b/dots/.config/nvim/lua/plugins/configs/cmp.lua index 7843d7e4..ec0c4f46 100644 --- a/dots/.config/nvim/lua/plugins/configs/cmp.lua +++ b/dots/.config/nvim/lua/plugins/configs/cmp.lua @@ -325,14 +325,14 @@ return { -- Git Commit Completions cmp.setup.filetype("gitcommit", { sources = standard_sources({ - { name = "conventionalcommits" }, - { name = "git" } + { name = "conventionalcommits", priotity = 99 }, + { name = "git", priority = 98 } }), }) cmp.setup.filetype("octo", { sources = standard_sources({ - { name = "git" } + { name = "git", priority = 98 } }), })