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

Skip highlighting keywords in strings and comments #21

Open
danixeee opened this issue Dec 26, 2019 · 0 comments
Open

Skip highlighting keywords in strings and comments #21

danixeee opened this issue Dec 26, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@danixeee
Copy link
Member

When a language is installed in development mode, syntax highlighting is done by searching for keyword ranges in a given text and then setting appropriate decorations which also includes a (key)words from comments and strings.

This could be improved by searching for string and comment ranges and skip decorating language keywords which range is not overlapping with string and comment range.

@danixeee danixeee added the enhancement New feature or request label Dec 26, 2019
@danixeee danixeee self-assigned this Dec 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant