Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Davis <[email protected]>
  • Loading branch information
hunger and the-mikedavis authored Feb 6, 2024
1 parent 8564bc9 commit 62c6402
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions runtime/queries/slint/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
op: (_) @operator)

(if_statement
"if" @keyword.conditional)
"if" @keyword.control.conditional)

(if_statement
":" @punctuation.delimiter)
Expand All @@ -105,13 +105,13 @@
[
"if"
"else"
] @keyword.conditional)
] @keyword.control.conditional)

(ternary_expression
[
"?"
":"
] @keyword.conditional)
] @keyword.control.conditional)

; Keywords:
[
Expand Down Expand Up @@ -162,7 +162,7 @@
[
"for"
"in"
] @keyword.repeat)
] @keyword.control.repeat)

(for_loop
":" @punctuation.delimiter)
Expand All @@ -180,16 +180,16 @@
"@image-url" @attribute)

(imperative_block
"return" @keyword.return)
"return" @keyword.control.return)

(import_statement
[
"import"
"from"
] @keyword.import)
] @keyword.control.import)

(import_type
"as" @keyword.import)
"as" @keyword.control.import)

(property
[
Expand Down

0 comments on commit 62c6402

Please sign in to comment.