Skip to content

Commit

Permalink
Disable SCSS highlights highlights which don't work in 0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Nov 27, 2024
1 parent 06bcb0f commit 62a486f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions vendored_parsers/tree-sitter-scss/queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@

(function_name) @function

((property_name) @variable
(match? @variable "^--"))
((plain_value) @variable
(match? @variable "^--"))
;; Disabled for tree-sitter 0.21, which seems to error on these.
;; ((property_name) @variable
;; (match? @variable "^--"))
;; ((plain_value) @variable
;; (match? @variable "^--"))

"@media" @keyword
"@import" @keyword
Expand Down

0 comments on commit 62a486f

Please sign in to comment.