From eff98275d08c1b7d8c2db4b53af1965843ecfd45 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 27 Jun 2024 23:34:12 +0800 Subject: [PATCH] fix(guide): fix prompt of flygrep execute() silent by default, the prompt can not be displayed --- lua/spacevim/plugin/guide.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/spacevim/plugin/guide.lua b/lua/spacevim/plugin/guide.lua index 128f42df2..efd38b255 100644 --- a/lua/spacevim/plugin/guide.lua +++ b/lua/spacevim/plugin/guide.lua @@ -636,7 +636,7 @@ local function handle_input(input) --- redraw! - local ok, _ = pcall(vim.fn.execute, input[1]) + local ok, _ = pcall(vim.fn.execute, input[1], '') if not ok then print(vim.v.exception) end