diff options
| author | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-21 12:59:43 -0500 |
|---|---|---|
| committer | Mitchell Riedstra <mitch@riedstra.dev> | 2023-01-21 12:59:43 -0500 |
| commit | 015eb3bfc84495140f837ea1538eb210e1cbd17a (patch) | |
| tree | 43fe9fd546ff73e23322897f50bf1a24aaad9544 /after | |
| parent | 7e68bb92dd06a6aa267c07b8e0313ad445a7f7c4 (diff) | |
| download | nvim-config-015eb3bfc84495140f837ea1538eb210e1cbd17a.tar.gz nvim-config-015eb3bfc84495140f837ea1538eb210e1cbd17a.tar.xz | |
Make spellcheck <leader>ss and change completion defaults
Diffstat (limited to 'after')
| -rw-r--r-- | after/plugin/lsp.lua | 6 |
1 files changed, 5 insertions, 1 deletions
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['<Tab>'] = nil cmp_mappings['<S-Tab>'] = nil lsp.setup_nvim_cmp({ - mapping = cmp_mappings + preselect = 'none', + mapping = cmp_mappings, + completion = { + completeopt = 'menu,menuone,noinsert,noselect' + } }) lsp.set_preferences({ |
