aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/gdscript/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/gdscript/highlights.scm')
-rw-r--r--runtime/queries/gdscript/highlights.scm8
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/queries/gdscript/highlights.scm b/runtime/queries/gdscript/highlights.scm
index cea9093c0..d7d3a648c 100644
--- a/runtime/queries/gdscript/highlights.scm
+++ b/runtime/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
[