diff --git a/lapce-core/queries/toml/highlights.scm b/lapce-core/queries/toml/highlights.scm index e0a3d6a1..ca2f0c74 100644 --- a/lapce-core/queries/toml/highlights.scm +++ b/lapce-core/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 @@ -45,4 +30,4 @@ "[[" @punctuation.bracket "]]" @punctuation.bracket "{" @punctuation.bracket -"}" @punctuation.bracket +"}" @punctuation.bracket \ No newline at end of file