Disable SCSS highlights highlights which don't work in 0.21

tree_sitter_upgrade
Wilfred Hughes 2024-11-26 22:49:51 +07:00
parent 831cd1e522
commit 44d3f19222
1 changed files with 5 additions and 4 deletions

@ -36,10 +36,11 @@
(function_name) @function (function_name) @function
((property_name) @variable ;; Disabled for tree-sitter 0.21, which seems to error on these.
(match? @variable "^--")) ;; ((property_name) @variable
((plain_value) @variable ;; (match? @variable "^--"))
(match? @variable "^--")) ;; ((plain_value) @variable
;; (match? @variable "^--"))
"@media" @keyword "@media" @keyword
"@import" @keyword "@import" @keyword