Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/toml/highlights.scm')
-rw-r--r--runtime/queries/toml/highlights.scm25
1 files changed, 5 insertions, 20 deletions
diff --git a/runtime/queries/toml/highlights.scm b/runtime/queries/toml/highlights.scm
index e0a3d6a1..e4d6966f 100644
--- a/runtime/queries/toml/highlights.scm
+++ b/runtime/queries/toml/highlights.scm
@@ -1,32 +1,17 @@
; Properties
;-----------
-(table [
- (bare_key)
- (dotted_key)
- (quoted_key)
-] @type)
-
-(table_array_element [
- (bare_key)
- (dotted_key)
- (quoted_key)
-] @type)
-
-(pair [
- (bare_key)
- (dotted_key)
- (quoted_key)
-] @variable.other.member)
+(bare_key) @property
+(quoted_key) @string
; Literals
;---------
-(boolean) @constant.builtin.boolean
+(boolean) @constant.builtin
(comment) @comment
(string) @string
-(integer) @constant.numeric.integer
-(float) @constant.numeric.float
+(integer) @number
+(float) @number
(offset_date_time) @string.special
(local_date_time) @string.special
(local_date) @string.special