nvim-treesitter/queries/ini/highlights.scm
Omar Valdez 5b8b126de0
fix(highlights): section headings in ini, git_config editorconfig (#7108)
Section headers should be `@markup.heading` in ini-like grammars and `@string.special.path` in editorconfig.
2024-09-03 10:24:16 +02:00

16 lines
183 B
Scheme

(section_name
(text) @markup.heading)
(comment) @comment @spell
[
"["
"]"
] @punctuation.bracket
"=" @operator
(setting
(setting_name) @property)
(setting_value) @string