From e8eb3fb5e109a910ee6937e31b86c71acf0f0d28 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 5 Feb 2025 17:15:08 +0800 Subject: [PATCH] fix(nvim-plug): fix `on_map` --- bundle/nvim-plug/lua/plug/hooks.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/nvim-plug/lua/plug/hooks.lua b/bundle/nvim-plug/lua/plug/hooks.lua index 44d9390b3..2108b1706 100644 --- a/bundle/nvim-plug/lua/plug/hooks.lua +++ b/bundle/nvim-plug/lua/plug/hooks.lua @@ -83,7 +83,7 @@ function M.on_map(maps, plugSpec) end end - vim.fn.feedkeys(lhs .. input, 'm') + vim.fn.feedkeys(vim.api.nvim_replace_termcodes(lhs .. input, false, true, true), 'm') end, {}) end end