1
0
Fork 0
mirror of https://git.sr.ht/~roxwize/.dotfiles synced 2025-01-31 07:03:36 +00:00
This commit is contained in:
Rae 5e 2024-12-20 15:01:00 -05:00
parent 4af0230d75
commit f6ea7b572b

View file

@ -19,6 +19,8 @@
vim.opt.shiftwidth = 4
vim.opt.expandtab = true
vim.opt.number = true
-- cmp
local cmp = require("cmp")
cmp.setup {
@ -28,8 +30,8 @@
end
},
mapping = {
['<C-p>'] = cmp.mapping.select_prev_item(),
['<C-n>'] = cmp.mapping.select_next_item(),
['<C-up>'] = cmp.mapping.select_prev_item(),
['<C-down>'] = cmp.mapping.select_next_item(),
['<C-space>'] = cmp.mapping.complete(),
['<C-e>'] = cmp.mapping.close(),
['<tab>'] = cmp.mapping.confirm { select = true }