Skip to content

Commit

Permalink
fix: return mode n instead of nix for feedkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
Wansmer committed May 9, 2024
1 parent 1b3500c commit 1756989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/langmapper/utils.lua
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ local function feed_nmap(keys)
keys = vim.api.nvim_replace_termcodes(keys, true, true, true)
-- Mode always should be noremap to avoid recursion
local count = vim.v.count > 0 and vim.v.count or ''
vim.api.nvim_feedkeys(count .. keys, 'nix', true)
vim.api.nvim_feedkeys(count .. keys, 'n', true)
end

local function collect_variant_commands(from, to)
Expand Down

0 comments on commit 1756989

Please sign in to comment.