Changing the completeopt back to select but not insert as not selecting
is causing a workflow issue both logically and muscle memory-wise.
This commit is contained in:
parent
329df1a121
commit
ef54f297ee
4
init.lua
4
init.lua
@ -181,7 +181,7 @@ local treesitter_configs = softrequire('nvim-treesitter.configs')
|
|||||||
vim.opt.background = 'dark' -- Force a dark background for the colorscheme
|
vim.opt.background = 'dark' -- Force a dark background for the colorscheme
|
||||||
vim.opt.clipboard = "unnamed,unnamedplus" -- Use both the "*" and "+" registers for yanks and deletes (puts things in the system clipboard)
|
vim.opt.clipboard = "unnamed,unnamedplus" -- Use both the "*" and "+" registers for yanks and deletes (puts things in the system clipboard)
|
||||||
vim.opt.colorcolumn = '121' -- Highlight column to show
|
vim.opt.colorcolumn = '121' -- Highlight column to show
|
||||||
vim.opt.completeopt = 'menu,menuone,noselect' -- Change how the completion menu is interacted with
|
vim.opt.completeopt = 'menu,menuone,noinsert' -- Change how the completion menu is interacted with
|
||||||
vim.opt.cursorline = true -- Highlight the line the cursor is on.
|
vim.opt.cursorline = true -- Highlight the line the cursor is on.
|
||||||
vim.opt.expandtab = true -- Expand tabs into spaces
|
vim.opt.expandtab = true -- Expand tabs into spaces
|
||||||
vim.opt.fileformat = 'unix' -- Explicitly state that files should use the unix style EOL characters.
|
vim.opt.fileformat = 'unix' -- Explicitly state that files should use the unix style EOL characters.
|
||||||
@ -525,7 +525,7 @@ if cmp then
|
|||||||
end
|
end
|
||||||
},
|
},
|
||||||
completion = {
|
completion = {
|
||||||
completeopt = 'menu,menuone,noselect' -- TODO: Necessary copy of the default completeopt?
|
completeopt = 'menu,menuone,noinsert' -- TODO: Necessary copy of the default completeopt?
|
||||||
},
|
},
|
||||||
experimental = {
|
experimental = {
|
||||||
ghost_text = true,
|
ghost_text = true,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user