diff --git a/nvim/lua/themystery/plugins/completion.lua b/nvim/lua/themystery/plugins/completion.lua index 0a236ec..799a1a0 100644 --- a/nvim/lua/themystery/plugins/completion.lua +++ b/nvim/lua/themystery/plugins/completion.lua @@ -11,7 +11,10 @@ return { -- 'super-tab' for mappings similar to vscode (tab to accept, arrow keys to navigate) -- 'enter' for mappings similar to 'super-tab' but with 'enter' to accept -- See the full "keymap" documentation for information on defining your own keymap. - keymap = { preset = 'super-tab' }, + keymap = { preset = 'super-tab', [''] = { 'accept', 'fallback' } }, + cmdline = { + keymap = { preset = 'super-tab' } + }, completion = { menu = { border = 'single' }, documentation = { window = { border = 'single' } },