on master help sign in
feat(toml): highlight table headers (#7441)
commit6c6923c39eae8b176d4deb7779ab19dcebb326ea authorBranch Vincent <branchevincent@gmail.com> dateSat 24 Jun 2023, 06:27 (3 years ago) parent08c0a23
1 file changed+15−2
runtime/queries/toml/highlights.scm+15−2
runtime/queries/toml/highlights.scm+15−2
@@ -1,10 +1,23 @@
11; Properties
22;-----------
33
4−[
4+(table [
55 (bare_key)
6+ (dotted_key)
67 (quoted_key)
7−] @variable.other.member
8+] @type)
9+
10+(table_array_element [
11+ (bare_key)
12+ (dotted_key)
13+ (quoted_key)
14+] @type)
15+
16+(pair [
17+ (bare_key)
18+ (dotted_key)
19+ (quoted_key)
20+] @variable.other.member)
821
922; Literals
1023;---------