aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-05-02 17:15:46 +0200
committerChristian Clason <c.clason@uni-graz.at>2025-05-12 18:43:40 +0200
commit3d0e642764f22d12c2496c27f132197f0ae96ccb (patch)
tree28a333ee0cbb18a9fe2c085bcc061bc99098a307 /runtime
parentfeat(parsers): update robot, earthfile, racket, javadoc, scheme, t32, tact, t... (diff)
downloadnvim-treesitter-3d0e642764f22d12c2496c27f132197f0ae96ccb.tar
nvim-treesitter-3d0e642764f22d12c2496c27f132197f0ae96ccb.tar.gz
nvim-treesitter-3d0e642764f22d12c2496c27f132197f0ae96ccb.tar.bz2
nvim-treesitter-3d0e642764f22d12c2496c27f132197f0ae96ccb.tar.lz
nvim-treesitter-3d0e642764f22d12c2496c27f132197f0ae96ccb.tar.xz
nvim-treesitter-3d0e642764f22d12c2496c27f132197f0ae96ccb.tar.zst
nvim-treesitter-3d0e642764f22d12c2496c27f132197f0ae96ccb.zip
feat(gdscript)!: update parser and queries
`(underscore)` node was removed
Diffstat (limited to 'runtime')
-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
[