diff --git a/runtime/queries/toml/highlights.scm b/runtime/queries/toml/highlights.scm index 3c4425f8c..e0a3d6a1b 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 ;---------