Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix keycode merge bugs introduced with 9875baef #230

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rene-descartes2021
Copy link
Collaborator

@rene-descartes2021 rene-descartes2021 commented Dec 6, 2022

Changes:

  • Fixes a problem with 9875bae (the improved merging commit), where if e.g. <C-I> exists in the dict and <Tab> doesn't, it will error with E741 on the call to extend(). I'm puzzled why this didn't occur in my earlier testing.
  • Broader use of s:KEYCODES and s:MERGE_INTO.
  • Improved the deepcopy() call in which_key#start(), will handle registration with a nested dictionary now, e.g. which_key#register('z', 'g:my_map.z'). Not sure of use-case but it works now.
  • Call to nr2char() replaced with which_key#char_handler#parse_raw().

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.

None yet

1 participant