Revert "Extract syntax highlighting properties from tree-sitter highlight queries (#2797)"
This reverts commit45c635872b
, reversing changes made tof2b82369f2
.
This commit is contained in:
parent
b0ec05a732
commit
9e755bb855
57 changed files with 553 additions and 630 deletions
|
@ -43,15 +43,15 @@
|
|||
(relative_scope) @variable.builtin
|
||||
|
||||
((name) @constant
|
||||
(.match? @constant "^_?[A-Z][A-Z\\d_]+$"))
|
||||
(#match? @constant "^_?[A-Z][A-Z\\d_]+$"))
|
||||
((name) @constant.builtin
|
||||
(.match? @constant.builtin "^__[A-Z][A-Z\d_]+__$"))
|
||||
(#match? @constant.builtin "^__[A-Z][A-Z\d_]+__$"))
|
||||
|
||||
((name) @method.constructor
|
||||
(.match? @method.constructor "^[A-Z]"))
|
||||
((name) @constructor
|
||||
(#match? @constructor "^[A-Z]"))
|
||||
|
||||
((name) @variable.builtin
|
||||
(.eq? @variable.builtin "this"))
|
||||
(#eq? @variable.builtin "this"))
|
||||
|
||||
(variable_name) @variable
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
((text) @content
|
||||
(.set! "language" "html")
|
||||
(.set! "combined"))
|
||||
(#set! "language" "html")
|
||||
(#set! "combined"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue