aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2024-06-08 10:19:28 +0200
committerChristian Clason <c.clason@uni-graz.at>2024-06-08 10:19:28 +0200
commit105a9e3dcf95ba64e7737a479579e20063ead0bb (patch)
treec02ee0554760d4eb83034da4327f9bd0c7b9a72e
parent4881211097aba7f5d17700362ec0967e3024f074 (diff)
downloadrneovim-105a9e3dcf95ba64e7737a479579e20063ead0bb.tar.gz
rneovim-105a9e3dcf95ba64e7737a479579e20063ead0bb.tar.bz2
rneovim-105a9e3dcf95ba64e7737a479579e20063ead0bb.zip
build(deps): bump tree-sitter-vimdoc to v3.0.0
-rw-r--r--cmake.deps/deps.txt4
-rw-r--r--runtime/queries/vimdoc/highlights.scm16
2 files changed, 13 insertions, 7 deletions
diff --git a/cmake.deps/deps.txt b/cmake.deps/deps.txt
index f2b152640e..356bfd92d4 100644
--- a/cmake.deps/deps.txt
+++ b/cmake.deps/deps.txt
@@ -47,8 +47,8 @@ TREESITTER_LUA_URL https://github.com/tree-sitter-grammars/tree-sitter-lua/archi
TREESITTER_LUA_SHA256 230cfcbfa74ed1f7b8149e9a1f34c2efc4c589a71fe0f5dc8560622f8020d722
TREESITTER_VIM_URL https://github.com/neovim/tree-sitter-vim/archive/v0.4.0.tar.gz
TREESITTER_VIM_SHA256 9f856f8b4a10ab43348550fa2d3cb2846ae3d8e60f45887200549c051c66f9d5
-TREESITTER_VIMDOC_URL https://github.com/neovim/tree-sitter-vimdoc/archive/v2.5.1.tar.gz
-TREESITTER_VIMDOC_SHA256 063645096504b21603585507c41c6d8718ff3c11b2150c5bfc31e8f3ee9afea3
+TREESITTER_VIMDOC_URL https://github.com/neovim/tree-sitter-vimdoc/archive/v3.0.0.tar.gz
+TREESITTER_VIMDOC_SHA256 a639bf92bf57bfa1cdc90ca16af27bfaf26a9779064776dd4be34c1ef1453f6c
TREESITTER_QUERY_URL https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.4.0.tar.gz
TREESITTER_QUERY_SHA256 d3a423ab66dc62b2969625e280116678a8a22582b5ff087795222108db2f6a6e
TREESITTER_PYTHON_URL https://github.com/tree-sitter/tree-sitter-python/archive/v0.21.0.tar.gz
diff --git a/runtime/queries/vimdoc/highlights.scm b/runtime/queries/vimdoc/highlights.scm
index 70a3a2f206..194c80362c 100644
--- a/runtime/queries/vimdoc/highlights.scm
+++ b/runtime/queries/vimdoc/highlights.scm
@@ -1,13 +1,19 @@
-(h1) @markup.heading.1
+(h1
+ (delimiter) @markup.heading.1
+ (heading) @markup.heading.1)
-(h2) @markup.heading.2
+(h2
+ (delimiter) @markup.heading.2
+ (heading) @markup.heading.2)
-(h3) @markup.heading.3
+(h3
+ (heading) @markup.heading.3)
-(column_heading) @markup.heading.4
+(column_heading
+ (heading) @markup.heading.4)
(column_heading
- "~" @markup.heading.4
+ (delimiter) @markup.heading.4
(#set! conceal ""))
(tag