1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 19:30:01 +02:00
This commit is contained in:
Henrik Hautakoski 2024-06-23 16:12:05 +02:00
parent 35c3cc49d5
commit 08bf9aad64
14 changed files with 264 additions and 110 deletions

View file

@ -33,7 +33,7 @@ return function()
["<Down>"] = selectNext,
["<Tab>"] = selectNext,
["<C-c>"] = cmp.mapping.abort(),
["<CR>"] = utils.confirm({ select = true }),
["<CR>"] = utils.confirm({ behavior = cmp.ConfirmBehavior.Replace, select = true }),
},
snippet = {
expand = function(args)
@ -52,7 +52,7 @@ return function()
},
sources = {
{ name = "nvim_lsp" },
-- { name = "luasnip" },
{ name = "luasnip" },
{ name = "buffer" },
{ name = "path" },
{
@ -66,10 +66,10 @@ return function()
},
},
},
experimental = {
ghost_text = {
hl_group = "NonText",
},
},
-- experimental = {
-- ghost_text = {
-- hl_group = "NonText",
-- },
-- },
}
end