From cbf70bfd51d4f3a3afe4270267c9cb02432a9f64 Mon Sep 17 00:00:00 2001 From: Seymur Bagirov Date: Mon, 24 Feb 2025 19:45:27 +0400 Subject: [PATCH] tweak blink.cmp --- nvim/lua/themystery/plugins/completion.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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' } },