obligatory formatting run

This commit is contained in:
kalmenn 2024-01-07 18:19:07 +01:00
parent 3dd0e7ac89
commit fb7c11497d
Signed by: kalmenn
GPG key ID: F500055C44BC3834
12 changed files with 117 additions and 100 deletions

View file

@ -12,7 +12,7 @@ return {
"saadparwaiz1/cmp_luasnip",
},
config = function()
local cmp = require("cmp");
local cmp = require("cmp")
cmp.setup({
snippet = {
@ -36,7 +36,7 @@ return {
{ name = "luasnip" },
}, {
{ name = "buffer" },
})
}),
})
vim.api.nvim_create_autocmd("BufRead", {
@ -51,18 +51,18 @@ return {
cmp.setup.cmdline({ "/", "?" }, {
mapping = cmp.mapping.preset.cmdline(),
sources = {
{ name = "buffer" }
}
{ name = "buffer" },
},
})
-- Use cmdline & path source for ":" (if you enabled `native_menu`, this won"t work anymore).
cmp.setup.cmdline(":", {
mapping = cmp.mapping.preset.cmdline(),
sources = cmp.config.sources({
{ name = "path" }
{ name = "path" },
}, {
{ name = "cmdline" }
})
{ name = "cmdline" },
}),
})
end,
}