refactor(nvim): ensure emoji completions show in gitcommits
This commit is contained in:
parent
6f417c327c
commit
7119075c60
@ -155,7 +155,10 @@ cmp.setup({
|
|||||||
|
|
||||||
-- Git Commit Completions
|
-- Git Commit Completions
|
||||||
cmp.setup.filetype("gitcommit", {
|
cmp.setup.filetype("gitcommit", {
|
||||||
sources = cmp.config.sources({ { name = "conventionalcommits", priority = 20 } }),
|
sources = cmp.config.sources({
|
||||||
|
{ name = "conventionalcommits", priority = 20 },
|
||||||
|
{ { name = "emoji", keyword_length = 2 } },
|
||||||
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
cmp.setup.filetype("toml", { sources = cmp.config.sources({ { name = "crates" } }) })
|
cmp.setup.filetype("toml", { sources = cmp.config.sources({ { name = "crates" } }) })
|
||||||
|
Loading…
Reference in New Issue
Block a user