diff options
| author | Aotrix <[email protected]> | 2024-09-01 00:40:00 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-09-01 00:40:00 +0200 |
| commit | 01897c15c10e183232bc78cbddb9aae8bb944895 (patch) | |
| tree | 0d9f8243c9e4daad3a5af6262fc81fb214512dd3 /lua/autocomplete/autocomplete.lua | |
| parent | bb6410ef7e0f6306ef8aef0aeabbeea3f4388647 (diff) | |
Add files via upload
Diffstat (limited to 'lua/autocomplete/autocomplete.lua')
| -rw-r--r-- | lua/autocomplete/autocomplete.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/autocomplete/autocomplete.lua b/lua/autocomplete/autocomplete.lua index eaa7a4b..f5329e1 100644 --- a/lua/autocomplete/autocomplete.lua +++ b/lua/autocomplete/autocomplete.lua @@ -13,6 +13,7 @@ end local opts = {silent = true, noremap = true, expr = true, replace_keycodes = false} keyset("i", "<TAB>", 'coc#pum#visible() ? coc#pum#next(1) : v:lua.check_back_space() ? "<TAB>" : coc#refresh()', opts) keyset("i", "<S-TAB>", [[coc#pum#visible() ? coc#pum#prev(1) : "\<C-h>"]], opts) +vim.opt.pumheight = 12 -- Make <CR> to accept selected completion item or notify coc.nvim to format -- <C-g>u breaks current undo, please make your own choice |
