From d5cb6213a11617ca666c1d4eb4733aa61edd7a07 Mon Sep 17 00:00:00 2001 From: xesc Date: Tue, 8 Jul 2025 19:16:06 +0200 Subject: [PATCH] fix completion in cmdline --- lua/plugin/cmp.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lua/plugin/cmp.lua b/lua/plugin/cmp.lua index ab62108..212ab05 100644 --- a/lua/plugin/cmp.lua +++ b/lua/plugin/cmp.lua @@ -124,7 +124,8 @@ return { preset = 'none', [''] = { 'accept_and_enter', 'fallback' }, ['Tab'] = { 'select_next'}, - [''] = { 'select_prev'}, + [''] = { 'show_and_insert', 'select_next' }, + [''] = { 'show_and_insert', 'select_prev' }, [''] = { 'hide', 'show'}, }, completion = {