diff --git a/queries/editorconfig/highlights.scm b/queries/editorconfig/highlights.scm index fd69bc4c8..feb0a524c 100644 --- a/queries/editorconfig/highlights.scm +++ b/queries/editorconfig/highlights.scm @@ -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) diff --git a/queries/git_config/highlights.scm b/queries/git_config/highlights.scm index 3423e1b0c..6b37e9090 100644 --- a/queries/git_config/highlights.scm +++ b/queries/git_config/highlights.scm @@ -1,5 +1,5 @@ ; Sections -(section_name) @type +(section_name) @markup.heading ((section_name) @keyword.import (#eq? @keyword.import "include")) diff --git a/queries/ini/highlights.scm b/queries/ini/highlights.scm index b71c502aa..cbf958e84 100644 --- a/queries/ini/highlights.scm +++ b/queries/ini/highlights.scm @@ -1,5 +1,5 @@ (section_name - (text) @type) ; consistency with toml + (text) @markup.heading) (comment) @comment @spell