Closed head-gardener closed 5 months ago
If you call require('langmapper').hack_get_keymap()
after plugin setup, does bug still appear?
Seems like the same problem #15
@Wansmer it doesn't. Not with my full config, nor with the minimal config provided.
@Wansmer it doesn't. Not with my full config, nor with the minimal config provided.
You have a typo in your minimal config ('hfalsersh7th/nvim-cmp'
is not a valid repo url).
Also, when add hack_get_keymap()
, no imap <space>
mappings are found:
-- ...
config = function()
require("langmapper").setup({})
require("langmapper").hack_get_keymap()
end,
-- ...
Before:
After:
Are you sure you try with hack_get_keymap()
?
@Wansmer calling the function in config
does work. I ran :lua require("langmapper").hack_get_keymap()
and, as stated, got no results.
P.S. typo fixed, idk how it got there. Also, looking back this issue is on the README. Seems like my adhd got the better of me again lol.
Good, then I close issue as completed
Description
Setting keymaps through iron.nvim and nvim-cmp as shown below causes
langmapper
to create the following mapping:Expected behavior
<Space>mv
shouldn't be an insert mode mapping, sinceiron
's maps are supposed to be normal and visual mode only.init.lua