mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-03 10:57:48 +03:00
feat(toml): highlight table headers (#7441)
This commit is contained in:
parent
08c0a23b79
commit
6c6923c39e
1 changed files with 15 additions and 2 deletions
|
@ -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
|
||||
;---------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue