mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-13 22:47:59 +08:00
fix(nvim-plug): fix on_map
This commit is contained in:
parent
c21cea3595
commit
e8eb3fb5e1
2
bundle/nvim-plug/lua/plug/hooks.lua
vendored
2
bundle/nvim-plug/lua/plug/hooks.lua
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user