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 "." mapping delay #194

Merged
merged 1 commit into from
May 4, 2021
Merged

Fix "." mapping delay #194

merged 1 commit into from
May 4, 2021

Conversation

BrotifyPacha
Copy link
Collaborator

@BrotifyPacha BrotifyPacha commented May 4, 2021

Fixes #177
The delay is caused by a bug in s:has_children(input) function. Where if you would supply "." as the input, it wouldn't be escaped properly. And so it would be interpreted as "any" mapping.
The fix is to add custom elseif for "." case.

Adds custom elseif for "." in s:has_children() func.
Copy link
Owner

@liuchengxu liuchengxu left a comment

Choose a reason for hiding this comment

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

LGTM

@BrotifyPacha BrotifyPacha merged commit da2934f into master May 4, 2021
@delete-merged-branch delete-merged-branch bot deleted the fix_dot_mapping_delay branch May 4, 2021 14:20
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.

Delay on a dot key mapping
2 participants