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 reentrant mappings #99

Merged
merged 6 commits into from
Jan 2, 2020
Merged

Fix reentrant mappings #99

merged 6 commits into from
Jan 2, 2020

Conversation

dhleong
Copy link
Owner

@dhleong dhleong commented Jan 2, 2020

The big coroutine refactor introduced a potential issue where a mapping like this:

nnoremap('<space>ri', lambda: normal(':load(MYJUDORC)<cr>'))

would cause Judo to hang, due to the script context calling into a suspending function that they called back into a script.

This PR fixes this issue.

@dhleong dhleong merged commit 086f000 into master Jan 2, 2020
@dhleong dhleong deleted the dhleong/fix-reentrant-mappings branch January 2, 2020 21:44
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