Skip to content

GDScript: Add abstract functions to highlight grammar#1000

Merged
DaelonSuzuka merged 1 commit into
godotengine:masterfrom
HolonProduction:highlight-fix
Apr 7, 2026
Merged

GDScript: Add abstract functions to highlight grammar#1000
DaelonSuzuka merged 1 commit into
godotengine:masterfrom
HolonProduction:highlight-fix

Conversation

@HolonProduction
Copy link
Copy Markdown
Member

Fixes: #962

Also adds is not (although not sure on the role, but it looks fine with the default color scheme)
Fixes: #834

@HolonProduction HolonProduction changed the title Add abstract functions to highlight grammar GDScript: Add abstract functions to highlight grammar Mar 26, 2026
@DaelonSuzuka
Copy link
Copy Markdown
Collaborator

@HolonProduction FYI I haven't been particularly strict on the token roles, there's a few contributors that come and correct me every once in a while.

The textmate tokenizer IS used for the formatter though (don't ask), so if you do something too outrageous with the highlighting the formatter tests should tell you. (this also means that when there's new grammar in GDScript, it's doubly helpful to make sure it's represented in the tests, because that checks both the formatter and the highlighting [indirectly])

@DaelonSuzuka DaelonSuzuka merged commit a58d0e4 into godotengine:master Apr 7, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

: character is not correctly escaped in a string when following an abstract function. Syntax Highlighting issue in is not operator

2 participants