fix: expose emoji completions for gitcommits

This commit is contained in:
Price Hiller 2023-03-15 20:41:41 -05:00
parent b694b4bb05
commit 0481cd10b7
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8

View File

@ -166,8 +166,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 = 20 },
{ { name = "emoji", keyword_length = 2 } }, { name = "emoji", keyword_length = 2 },
}), }),
}) })