Skip to content

Conversation

@jdrouhard
Copy link
Contributor

neovim/neovim#19598 changed vim.keymap.set to replace keycodes by default for all mappings if expr == true instead of only luaref expr mappings.

The toggle expr mappings are not luarefs but shouldn't have the keycodes replaced since they use <Plug>.

neovim/neovim#19598 changed vim.keymap.set to
replace keycodes by default for all mappings if expr == true instead of
only luaref expr mappings.

The toggle expr mappings are not luarefs but shouldn't have the keycodes
replaced since they use <Plug>.
@numToStr
Copy link
Owner

numToStr commented Aug 2, 2022

Is this backwards compatible?

@clason
Copy link

clason commented Aug 2, 2022

Should be since it's just specifying the old default.

I just tested this PR both with and without that commit and it works fine in either case.

Copy link
Owner

@numToStr numToStr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@numToStr numToStr merged commit 7929a63 into numToStr:master Aug 2, 2022
@jdrouhard jdrouhard deleted the no_replace_keycodes branch August 10, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants