Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ghostty/highlights.scm')
-rw-r--r--runtime/queries/ghostty/highlights.scm14
1 files changed, 7 insertions, 7 deletions
diff --git a/runtime/queries/ghostty/highlights.scm b/runtime/queries/ghostty/highlights.scm
index aa31bbc3..4ae953e5 100644
--- a/runtime/queries/ghostty/highlights.scm
+++ b/runtime/queries/ghostty/highlights.scm
@@ -22,6 +22,11 @@
(":") @punctuation.delimiter
+[
+ (string)
+ (color)
+] @string
+
; (color) are hex values
(color "#" @punctuation.special
(#eq? @punctuation.special "#"))
@@ -44,18 +49,13 @@
(tuple "," @punctuation.delimiter.special
(#eq? @punctuation.delimiter.special ","))
-[
- (string)
- (color)
-] @string
+; `keybind`
+(keybind_value) @string.special
; clear is a special keyword that clear all existing keybind up to that point
((keybind_value) @keyword
(#eq? @keyword "clear"))
-; `keybind`
-(keybind_value) @string.special
-
; NOTE: The order here matters!
[
(key_qualifier)