aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorChrHorn2022-05-05 07:14:17 +0000
committerGitHub2022-05-05 07:14:17 +0000
commitfc61796895a0175ccfed7f572960dc3cd21e7f04 (patch)
tree974204336481f9cc6e788f0f1db360ddbd54859e /runtime/queries
parentf1a77370cf679eb0f3a58cfb12deec8ff7fc6325 (diff)
TOML highlight: use variable.other.member instead of string for quoted keys (#2391)
Diffstat (limited to 'runtime/queries')
-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
;---------