refactor(nvim): simplify cmp config
This commit is contained in:
parent
9407f33e29
commit
8a699d2b0e
1 changed files with 3 additions and 3 deletions
|
@ -55,14 +55,14 @@ cmp.setup({
|
||||||
-- `/` cmdline setup.
|
-- `/` cmdline setup.
|
||||||
cmp.setup.cmdline("/", {
|
cmp.setup.cmdline("/", {
|
||||||
sources = cmp.config.sources(
|
sources = cmp.config.sources(
|
||||||
{ { name = "buffer" } }
|
{ name = "buffer" }
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
-- `:` cmdline setup.
|
-- `:` cmdline setup.
|
||||||
cmp.setup.cmdline(":", {
|
cmp.setup.cmdline(":", {
|
||||||
sources = cmp.config.sources(
|
sources = cmp.config.sources(
|
||||||
{ { name = "path" } },
|
{ name = "path" },
|
||||||
{ { name = "cmdline" } }
|
{ name = "cmdline" }
|
||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue