Skip to content

Commit

Permalink
fix: move 'this' query lower in the highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Feb 22, 2024
1 parent 5dd836f commit f833f53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions queries/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
((name) @constructor
(#match? @constructor "^[A-Z]"))

((name) @variable.builtin
(#eq? @variable.builtin "this"))

; Types

(primitive_type) @type.builtin
Expand Down Expand Up @@ -71,6 +68,9 @@
(float) @number
(comment) @comment

((name) @variable.builtin
(#eq? @variable.builtin "this"))

"$" @operator

; Keywords
Expand Down

0 comments on commit f833f53

Please sign in to comment.