Skip to content

Commit

Permalink
Remove @constant.variable
Browse files Browse the repository at this point in the history
  • Loading branch information
chbk committed Feb 21, 2025
1 parent 4cbe4c2 commit ae605f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/languages/src/rust/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
(#match? @type "^[A-Z]"))

; Assume all-caps names are constants
((identifier) @constant.variable
(#match? @constant.variable "^_*[A-Z][A-Z\\d_]*$"))
((identifier) @constant
(#match? @constant "^_*[A-Z][A-Z\\d_]*$"))

[
"("
Expand Down

0 comments on commit ae605f9

Please sign in to comment.