diff --git a/queries/gdscript/highlights.scm b/queries/gdscript/highlights.scm index cea9093c0..d7d3a648c 100644 --- a/queries/gdscript/highlights.scm +++ b/queries/gdscript/highlights.scm @@ -129,10 +129,10 @@ (#eq? @keyword.operator "new")) ; Match Pattern -[ - (underscore) - (pattern_open_ending) -] @character.special +(pattern_open_ending) @character.special + +((identifier) @character.special + (#eq? @character.special "_")) ; Alternations [