aboutsummaryrefslogtreecommitdiffstats
path: root/queries/editorconfig
diff options
context:
space:
mode:
authorOmar Valdez <omarantoniovaldezf2@gmail.com>2024-09-03 01:24:16 -0700
committerGitHub <noreply@github.com>2024-09-03 10:24:16 +0200
commit5b8b126de02ebfd92e46ed5986b3e58e870b85de (patch)
tree6601a6b82077093376d88141b5269fcda16747e7 /queries/editorconfig
parentfeat(javascript): update parser and queries (diff)
downloadnvim-treesitter-5b8b126de02ebfd92e46ed5986b3e58e870b85de.tar
nvim-treesitter-5b8b126de02ebfd92e46ed5986b3e58e870b85de.tar.gz
nvim-treesitter-5b8b126de02ebfd92e46ed5986b3e58e870b85de.tar.bz2
nvim-treesitter-5b8b126de02ebfd92e46ed5986b3e58e870b85de.tar.lz
nvim-treesitter-5b8b126de02ebfd92e46ed5986b3e58e870b85de.tar.xz
nvim-treesitter-5b8b126de02ebfd92e46ed5986b3e58e870b85de.tar.zst
nvim-treesitter-5b8b126de02ebfd92e46ed5986b3e58e870b85de.zip
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.
Diffstat (limited to 'queries/editorconfig')
-rw-r--r--queries/editorconfig/highlights.scm3
1 files changed, 1 insertions, 2 deletions
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)