mirror of
https://github.com/cole-maxwell1/dotfiles.git
synced 2026-01-25 22:41:48 -05:00
Add starter nvim config
This commit is contained in:
11
.config/nvim/after/plugin/nvim-cmp.lua
Normal file
11
.config/nvim/after/plugin/nvim-cmp.lua
Normal file
@@ -0,0 +1,11 @@
|
||||
local cmp = require('cmp')
|
||||
|
||||
cmp.setup({
|
||||
mapping = cmp.mapping.preset.insert({
|
||||
['<CR>'] = cmp.mapping.confirm({select = false}),
|
||||
}),
|
||||
preselect = 'item',
|
||||
completion = {
|
||||
completeopt = 'menu,menuone,noinsert'
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user