From ef54f297ee63bd429b72e66f79b2af38a6c4322b Mon Sep 17 00:00:00 2001 From: Joshua Finch Date: Thu, 1 Feb 2024 12:21:35 -0600 Subject: [PATCH] Changing the completeopt back to select but not insert as not selecting is causing a workflow issue both logically and muscle memory-wise. --- init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init.lua b/init.lua index 5192131..db27add 100644 --- a/init.lua +++ b/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.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.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.expandtab = true -- Expand tabs into spaces vim.opt.fileformat = 'unix' -- Explicitly state that files should use the unix style EOL characters. @@ -525,7 +525,7 @@ if cmp then end }, completion = { - completeopt = 'menu,menuone,noselect' -- TODO: Necessary copy of the default completeopt? + completeopt = 'menu,menuone,noinsert' -- TODO: Necessary copy of the default completeopt? }, experimental = { ghost_text = true,