From 015eb3bfc84495140f837ea1538eb210e1cbd17a Mon Sep 17 00:00:00 2001 From: Mitchell Riedstra Date: Sat, 21 Jan 2023 12:59:43 -0500 Subject: Make spellcheck ss and change completion defaults --- after/plugin/lsp.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'after/plugin/lsp.lua') diff --git a/after/plugin/lsp.lua b/after/plugin/lsp.lua index 7107dc5..6feb11c 100644 --- a/after/plugin/lsp.lua +++ b/after/plugin/lsp.lua @@ -49,7 +49,11 @@ cmp_mappings[''] = nil cmp_mappings[''] = nil lsp.setup_nvim_cmp({ - mapping = cmp_mappings + preselect = 'none', + mapping = cmp_mappings, + completion = { + completeopt = 'menu,menuone,noinsert,noselect' + } }) lsp.set_preferences({ -- cgit v1.2.3