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

Highlight qualified names based on last component (also highlight "XXX") #125

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

maurges
Copy link

@maurges maurges commented Jun 12, 2021

Previously qualified names were matched like

Map.insert
|  |  |
|  |  +- keyword
|  +- operator
+- type

Which is silly as those are not type nor operator! And I didn't like how it looked. Now such qualified names are matched as a whole.

The matching changed for HaskellType and HaskellOperator. I think HaskellKeyword need not be changed as that is only used where new keywords are defined, and you can't qualify in those places.

Also I added hightlighting for XXX like for TODO and FIXME since that is used in most other languages.

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.

1 participant