mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-18 03:10:04 -04:00
highlights(ini): add highlights.scm
This commit is contained in:
parent
fde3505718
commit
d88c03abbb
1 changed files with 16 additions and 0 deletions
16
queries/ini/highlights.scm
Normal file
16
queries/ini/highlights.scm
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
(section_name
|
||||||
|
(text) @type) ; consistency with toml
|
||||||
|
(comment) @comment
|
||||||
|
|
||||||
|
[
|
||||||
|
"["
|
||||||
|
"]"
|
||||||
|
] @punctuation.bracket
|
||||||
|
|
||||||
|
[
|
||||||
|
"="
|
||||||
|
] @operator
|
||||||
|
|
||||||
|
(setting (setting_name) @property)
|
||||||
|
(setting_value) @text ; grammar does not support subtypes
|
||||||
|
(ERROR (setting_name) @text)
|
||||||
Loading…
Add table
Add a link
Reference in a new issue