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

View file

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