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.
This commit is contained in:
Omar Valdez 2024-09-03 01:24:16 -07:00 committed by GitHub
parent a1573a9135
commit 5b8b126de0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 4 deletions

View file

@ -1,8 +1,7 @@
(comment) @comment @spell
; consistency with toml and ini
(section
(section_name) @type)
(section_name) @string.special.path)
(character_choice
(character) @constant)

View file

@ -1,5 +1,5 @@
; Sections
(section_name) @type
(section_name) @markup.heading
((section_name) @keyword.import
(#eq? @keyword.import "include"))

View file

@ -1,5 +1,5 @@
(section_name
(text) @type) ; consistency with toml
(text) @markup.heading)
(comment) @comment @spell