aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/toml/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/toml/highlights.scm')
-rw-r--r--runtime/queries/toml/highlights.scm17
1 files changed, 15 insertions, 2 deletions
diff --git a/runtime/queries/toml/highlights.scm b/runtime/queries/toml/highlights.scm
index 3c4425f8..e0a3d6a1 100644
--- a/runtime/queries/toml/highlights.scm
+++ b/runtime/queries/toml/highlights.scm
@@ -1,10 +1,23 @@
; Properties
;-----------
-[
+(table [
(bare_key)
+ (dotted_key)
(quoted_key)
-] @variable.other.member
+] @type)
+
+(table_array_element [
+ (bare_key)
+ (dotted_key)
+ (quoted_key)
+] @type)
+
+(pair [
+ (bare_key)
+ (dotted_key)
+ (quoted_key)
+] @variable.other.member)
; Literals
;---------