Skip to content

implement semantic highlighting (#49)#50

Open
AraneusRota wants to merge 1 commit into
brcosta:mainfrom
AraneusRota:issue-49_semantic-highlighting
Open

implement semantic highlighting (#49)#50
AraneusRota wants to merge 1 commit into
brcosta:mainfrom
AraneusRota:issue-49_semantic-highlighting

Conversation

@AraneusRota

@AraneusRota AraneusRota commented Aug 24, 2023

Copy link
Copy Markdown

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

brcosta commented Aug 28, 2023

Copy link
Copy Markdown
Owner

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
Copy Markdown
Author

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

@AraneusRota AraneusRota force-pushed the issue-49_semantic-highlighting branch from 2864e0b to 8fef008 Compare April 25, 2024 21:49
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 8fef008 to 0b6952f Compare October 2, 2025 17:20
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