refactor(nvim): sane usage of cmp sources
This commit is contained in:
parent
a0bcb57f3f
commit
6bd390a24c
@ -221,12 +221,6 @@ cmp.setup.filetype("gitcommit", {
|
||||
}),
|
||||
})
|
||||
|
||||
cmp.setup.filetype("NeogitCommitMesssage", {
|
||||
sources = cmp.config.sources({
|
||||
{ name = "conventionalcommits", priority = 20 },
|
||||
}),
|
||||
})
|
||||
|
||||
cmp.setup.filetype("toml", {
|
||||
sources = cmp.config.sources({
|
||||
{ name = "crates" },
|
||||
@ -238,7 +232,6 @@ cmp.setup.cmdline("/", {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "fuzzy_buffer" },
|
||||
{ name = "cmdline_history" },
|
||||
}),
|
||||
})
|
||||
|
||||
@ -246,7 +239,6 @@ cmp.setup.cmdline("?", {
|
||||
mapping = cmp.mapping.preset.cmdline(),
|
||||
sources = cmp.config.sources({
|
||||
{ name = "fuzzy_buffer" },
|
||||
{ name = "cmdline_history" },
|
||||
}),
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user