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

Wrong highlighting on keywords #1

Open
MasterMedo opened this issue May 5, 2021 · 0 comments
Open

Wrong highlighting on keywords #1

MasterMedo opened this issue May 5, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@MasterMedo
Copy link
Contributor

MasterMedo commented May 5, 2021

Some keywords can be used in multiple different ways. Like the "contains" keyword; it can be an operator, a function, a label, or a variable name. Depending on the environment it should be highlighted appropriately.
Since syn-containedin doesn't work as expected, the proposed solution is to create a top level region and encompass highlighting groups within it to avoid false matches.

@MasterMedo MasterMedo added the enhancement New feature or request label May 5, 2021
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