Skip to content

Commit

Permalink
fix: Top-down precedence for SQL literal scopes (first @constant.nume…
Browse files Browse the repository at this point in the history
…ric, then @string)
  • Loading branch information
LeoniePhiline committed Jan 28, 2023
1 parent 5e39ccd commit 4ed120a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/queries/sql/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@
(keyword_false)
] @constant.builtin

(literal) @string

((literal) @constant.numeric
(#match? @constant.numeric "^(-?\d*\.?\d*)$"))

(literal) @string

[
(keyword_select)
(keyword_delete)
Expand Down

0 comments on commit 4ed120a

Please sign in to comment.