Bug: Global and a filetype-specific LazyKey mapping for the same key disable each other #1241
Closed
3 tasks done
Labels
bug
Something isn't working
Did you check docs and existing issues?
Neovim version (nvim -v)
NVIM v0.9.4
Operating system/version
macOS 14.1 (arm)
Describe the bug
This bug is related to the filetype-specific LazyKeys (#1076).
When setting two lazy keys, one global (without
ft = …
) and one for a buffer (withft = …
), activating one of them disables the other. While this makes somewhat sense for global keymaps to avoid conflicting keymaps, it is indeed often useful to modify the behavior of one keymap for a specific filetype. The current lazy.nvim behavior, however, prevents setting up such keymaps.Steps To Reproduce
R
.R
.Expected Behavior
the keymaps should not disable each other
Repro
The text was updated successfully, but these errors were encountered: