refactor(nvim): update cmp priorities for gitcommit

This commit is contained in:
Price Hiller 2023-07-13 20:23:55 -05:00
parent 26496a5b79
commit 32fc8c7995
No known key found for this signature in database

View File

@ -164,8 +164,8 @@ cmp.setup({
-- Git Commit Completions -- Git Commit Completions
cmp.setup.filetype("gitcommit", { cmp.setup.filetype("gitcommit", {
sources = cmp.config.sources({ sources = cmp.config.sources({
{ name = "conventionalcommits", priority = 20 }, { name = "conventionalcommits", priority = 2 },
{ name = "emoji", keyword_length = 2 }, { name = "emoji", keyword_length = 2, priority = 1 },
}), }),
}) })