Unnamed repository; edit this file 'description' to name the repository.
TOML highlight: use variable.other.member instead of string for quoted keys (#2391)
ChrHorn 2022-05-05
parent f1a7737 · commit fc61796
-rw-r--r--runtime/queries/toml/highlights.scm6
1 files changed, 4 insertions, 2 deletions
diff --git a/runtime/queries/toml/highlights.scm b/runtime/queries/toml/highlights.scm
index 2742b2be..3c4425f8 100644
--- a/runtime/queries/toml/highlights.scm
+++ b/runtime/queries/toml/highlights.scm
@@ -1,8 +1,10 @@
; Properties
;-----------
-(bare_key) @variable.other.member
-(quoted_key) @string
+[
+ (bare_key)
+ (quoted_key)
+] @variable.other.member
; Literals
;---------