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

implement semantic highlighting (#49) #50

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AraneusRota
Copy link

@AraneusRota AraneusRota commented Aug 24, 2023

Works for all symbols and keywords. Namespaces are treated as separate highlighted elements. For symbols that was the behavior by default and for keywords the ns range had to be manually added.

The only small gripe I still have is that now everything is highlighted because there is no syntax to exclude like in other languages (especially if you also enable rainbow parentheses). Personally, at first I also had to get used to semantic highlighting for other languages but now don't want to miss it anymore. Maybe it's again just a matter of getting used to.

Fixes #49

@brcosta
Copy link
Owner

brcosta commented Aug 28, 2023

Cool! Will take a look this week, thanks :)

@AraneusRota AraneusRota force-pushed the issue-49_semantic-highlighting branch from 08e271f to 2864e0b Compare March 29, 2024 20:17
@AraneusRota
Copy link
Author

Hi @brcosta, any update on the merge? I just rebased my commit onto the newest version :)

Works for all symbols and keywords. Namespaces are treated as separate highlighted elements. For symbols that was the behaviour by default and for keywords the ns range had to be manually added.
@AraneusRota AraneusRota force-pushed the issue-49_semantic-highlighting branch from 2864e0b to 8fef008 Compare April 25, 2024 21:49
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.

Feature: Semantic highlighting
2 participants