Skip to content

Fix for an error when existing keymap returns nil#5

Open
MarkovInequality wants to merge 1 commit intoanuvyklack:masterfrom
MarkovInequality:master
Open

Fix for an error when existing keymap returns nil#5
MarkovInequality wants to merge 1 commit intoanuvyklack:masterfrom
MarkovInequality:master

Conversation

@MarkovInequality
Copy link
Copy Markdown

Some nvim plugins can set keymaps with expr = true, but return nil. This causes an error when get_original is called and tries to call feedkeys on the mapped key.
Adding a check stops the error.

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.

1 participant