neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 20dcbaaaf8801163aca8592866086b552bc93f29
parent aca4ad430bdcc6dadc5387ab80e26b4140b42337
Author: Christian Clason <c.clason@uni-graz.at>
Date:   Sun, 17 Mar 2024 13:11:22 +0100

feat(treesitter): update Vim parser and queries to v0.4.0

Diffstat:
Mcmake.deps/deps.txt | 4++--
Mruntime/queries/vim/highlights.scm | 2++
Mruntime/queries/vim/injections.scm | 4+++-
3 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/cmake.deps/deps.txt b/cmake.deps/deps.txt @@ -45,8 +45,8 @@ TREESITTER_C_URL https://github.com/tree-sitter/tree-sitter-c/archive/v0.21.0.ta TREESITTER_C_SHA256 6f0f5d1b71cf8ffd8a37fb638c6022fa1245bd630150b538547d52128ce0ea7e TREESITTER_LUA_URL https://github.com/tree-sitter-grammars/tree-sitter-lua/archive/v0.1.0.tar.gz TREESITTER_LUA_SHA256 230cfcbfa74ed1f7b8149e9a1f34c2efc4c589a71fe0f5dc8560622f8020d722 -TREESITTER_VIM_URL https://github.com/neovim/tree-sitter-vim/archive/v0.3.0.tar.gz -TREESITTER_VIM_SHA256 403acec3efb7cdb18ff3d68640fc823502a4ffcdfbb71cec3f98aa786c21cbe2 +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.2.0.tar.gz TREESITTER_VIMDOC_SHA256 2cd898245d28bb606b05c022f04077031381d998faa3c6825c5ca01b7c89e2ae TREESITTER_QUERY_URL https://github.com/tree-sitter-grammars/tree-sitter-query/archive/v0.1.0.tar.gz diff --git a/runtime/queries/vim/highlights.scm b/runtime/queries/vim/highlights.scm @@ -132,6 +132,8 @@ (map_statement cmd: _ @keyword) +(keycode) @character.special + (command_name) @function.macro ; Filetype command diff --git a/runtime/queries/vim/injections.scm b/runtime/queries/vim/injections.scm @@ -28,5 +28,7 @@ ((set_item option: (option_name) @_option value: (set_value) @injection.content) - (#any-of? @_option "includeexpr" "inex" "printexpr" "pexpr" "formatexpr" "fex" "indentexpr" "inde" "foldtext" "fdt" "foldexpr" "fde" "diffexpr" "dex" "patchexpr" "pex" "charconvert" "ccv") + (#any-of? @_option + "includeexpr" "inex" "printexpr" "pexpr" "formatexpr" "fex" "indentexpr" "inde" "foldtext" "fdt" + "foldexpr" "fde" "diffexpr" "dex" "patchexpr" "pex" "charconvert" "ccv") (#set! injection.language "vim"))