refactor(nvim): simplify cmp config

main
mandlm 2022-07-04 08:52:35 +02:00
parent 9407f33e29
commit 8a699d2b0e
Signed by: mandlm
GPG Key ID: 4AA25D647AA54CC7
1 changed files with 3 additions and 3 deletions

View File

@ -55,14 +55,14 @@ cmp.setup({
-- `/` cmdline setup.
cmp.setup.cmdline("/", {
sources = cmp.config.sources(
{ { name = "buffer" } }
{ name = "buffer" }
)
})
-- `:` cmdline setup.
cmp.setup.cmdline(":", {
sources = cmp.config.sources(
{ { name = "path" } },
{ { name = "cmdline" } }
{ name = "path" },
{ name = "cmdline" }
)
})