- Switch to using PCRE for ts predicate matching
- Fix/use shebang hl for ruby and bash grammars
This commit is contained in:
2025-12-10 19:49:09 +00:00
parent 774a21241e
commit 303f008b6f
6 changed files with 44 additions and 56 deletions

View File

@@ -281,7 +281,7 @@
(extglob_pattern)
] @string.regexp
;; #fbb152 #000000 0 0 0 3
;; #51eeba #000000 0 0 0 3
((program
.
(comment) @keyword.directive @nospell)

View File

@@ -245,23 +245,11 @@
;; #AAAAAA #000000 0 1 0 1
(comment) @comment
(program
(comment)+ @comment.documentation
(class))
(module
(comment)+ @comment.documentation
(body_statement
(class)))
(class
(comment)+ @comment.documentation
(body_statement
(method)))
(body_statement
(comment)+ @comment.documentation
(method))
;; #51eeba #000000 0 0 0 3
((program
.
(comment) @shebang @nospell)
(#match? @shebang "^#!/"))
;; #ffffff #000000 0 0 0 1
[