on master help sign in
feat(toml): highlight table headers (#7441)
6c6923cBranch Vincent
runtime/queries/toml/highlights.scm+15−2
@@ -1,10 +1,23 @@
1; Properties
1; Properties
2;-----------
2;-----------
3
3
4−[
4+(table [
5 (bare_key)
5 (bare_key)
6+ (dotted_key)
6 (quoted_key)
7 (quoted_key)
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)
7−] @variable.other.member
20+] @variable.other.member)
8
21
9; Literals
22; Literals
10;---------
23;---------