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 error highlights for hex and binary constants #3216

Merged
merged 1 commit into from
May 6, 2021

Conversation

bluekeyes
Copy link
Contributor

@bluekeyes bluekeyes commented May 5, 2021

Add ) as a terminating character to avoid marking sequences like:

int64(a&0xFF00)>>8

as invalid constants. This matches the behavior for octal constants.

vim-go-hex-error

Add ')' as a terminating character to avoid marking sequences like

    int64(a&0xFF00)>>8

as invalid constants. This matches the behavior for octal constants.
@bhcleek bhcleek added this to the vim-go 1.26 milestone May 6, 2021
@bhcleek
Copy link
Collaborator

bhcleek commented May 6, 2021

Thank you for contributing!

@bhcleek bhcleek merged commit fc256be into fatih:master May 6, 2021
bhcleek added a commit that referenced this pull request May 6, 2021
@bluekeyes bluekeyes deleted the bkeyes/fix-hex-error branch May 6, 2021 03:59
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.

2 participants