refactor(nvim): set priority for some sources in cmp
This commit is contained in:
parent
43fb2b2fe9
commit
362771dcd0
@ -325,14 +325,14 @@ return {
|
|||||||
-- Git Commit Completions
|
-- Git Commit Completions
|
||||||
cmp.setup.filetype("gitcommit", {
|
cmp.setup.filetype("gitcommit", {
|
||||||
sources = standard_sources({
|
sources = standard_sources({
|
||||||
{ name = "conventionalcommits" },
|
{ name = "conventionalcommits", priotity = 99 },
|
||||||
{ name = "git" }
|
{ name = "git", priority = 98 }
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
cmp.setup.filetype("octo", {
|
cmp.setup.filetype("octo", {
|
||||||
sources = standard_sources({
|
sources = standard_sources({
|
||||||
{ name = "git" }
|
{ name = "git", priority = 98 }
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user