diff options
| author | Christian Clason <c.clason@uni-graz.at> | 2023-04-01 15:58:48 +0200 |
|---|---|---|
| committer | Christian Clason <c.clason@uni-graz.at> | 2023-04-01 16:10:11 +0200 |
| commit | 93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13 (patch) | |
| tree | faf9db765ccea03a992ba4e7f44dc06576dc453f | |
| parent | fix(ruby): then blocks should not be `@conditional`, just "then" (diff) | |
| download | nvim-treesitter-93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13.tar nvim-treesitter-93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13.tar.gz nvim-treesitter-93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13.tar.bz2 nvim-treesitter-93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13.tar.lz nvim-treesitter-93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13.tar.xz nvim-treesitter-93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13.tar.zst nvim-treesitter-93fa5df0a3f0aeb72df50a9d2110cb90fc5a0a13.zip | |
chore(help)!: renamed to vimdoc
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | lockfile.json | 6 | ||||
| -rw-r--r-- | lua/nvim-treesitter/parsers.lua | 17 | ||||
| -rw-r--r-- | queries/vimdoc/highlights.scm (renamed from queries/help/highlights.scm) | 0 | ||||
| -rw-r--r-- | queries/vimdoc/injections.scm (renamed from queries/help/injections.scm) | 0 |
5 files changed, 14 insertions, 13 deletions
@@ -106,7 +106,7 @@ All modules are disabled by default and need to be activated explicitly in your ```lua require'nvim-treesitter.configs'.setup { -- A list of parser names, or "all" (the five listed parsers should always be installed) - ensure_installed = { "c", "lua", "vim", "help", "query" }, + ensure_installed = { "c", "lua", "vim", "vimdoc", "query" }, -- Install parsers synchronously (only applied to `ensure_installed`) sync_install = false, @@ -241,7 +241,6 @@ We are looking for maintainers to add more parsers and to write query files for - [ ] [haskell](https://github.com/tree-sitter/tree-sitter-haskell) - [x] [hcl](https://github.com/MichaHoffmann/tree-sitter-hcl) (maintained by @MichaHoffmann) - [x] [heex](https://github.com/connorlay/tree-sitter-heex) (maintained by @connorlay) -- [x] [help](https://github.com/neovim/tree-sitter-vimdoc) (maintained by @vigoux) - [x] [hjson](https://github.com/winston0410/tree-sitter-hjson) (maintained by @winston0410) - [x] [hlsl](https://github.com/theHamsta/tree-sitter-hlsl) (maintained by @theHamsta) - [x] [hocon](https://github.com/antosha417/tree-sitter-hocon) (maintained by @antosha417) @@ -348,6 +347,7 @@ We are looking for maintainers to add more parsers and to write query files for - [x] [verilog](https://github.com/tree-sitter/tree-sitter-verilog) (maintained by @zegervdv) - [x] [vhs](https://github.com/charmbracelet/tree-sitter-vhs) (maintained by @caarlos0) - [x] [vim](https://github.com/vigoux/tree-sitter-viml) (maintained by @vigoux) +- [x] [vimdoc](https://github.com/neovim/tree-sitter-vimdoc) (maintained by @clason) - [x] [vue](https://github.com/ikatyang/tree-sitter-vue) (maintained by @WhyNotHugo) - [x] [wgsl](https://github.com/szebniok/tree-sitter-wgsl) (maintained by @szebniok) - [x] [wgsl_bevy](https://github.com/theHamsta/tree-sitter-wgsl-bevy) (maintained by @theHamsta) diff --git a/lockfile.json b/lockfile.json index bec7df21f..327b68194 100644 --- a/lockfile.json +++ b/lockfile.json @@ -203,9 +203,6 @@ "heex": { "revision": "2e1348c3cf2c9323e87c2744796cf3f3868aa82a" }, - "help": { - "revision": "c4e23d265f022dcd51053c40d47cd06e7756a347" - }, "hjson": { "revision": "02fa3b79b3ff9a296066da6277adfc3f26cbc9e0" }, @@ -524,6 +521,9 @@ "vim": { "revision": "e39a7bbcfdcfc7900629962b785c7e14503ae590" }, + "vimdoc": { + "revision": "b2ec4ec5f7be24cb6f7ccffafd7204477fe5784a" + }, "vue": { "revision": "91fe2754796cd8fba5f229505a23fa08f3546c06" }, diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index c3c9bab6c..753ad51e5 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -641,14 +641,6 @@ list.heex = { maintainers = { "@connorlay" }, } -list.help = { - install_info = { - url = "https://github.com/neovim/tree-sitter-vimdoc", - files = { "src/parser.c" }, - }, - maintainers = { "@vigoux" }, -} - list.hjson = { install_info = { url = "https://github.com/winston0410/tree-sitter-hjson", @@ -1550,6 +1542,15 @@ list.vim = { maintainers = { "@vigoux" }, } +list.vimdoc = { + install_info = { + url = "https://github.com/neovim/tree-sitter-vimdoc", + files = { "src/parser.c" }, + }, + filetype = "help", + maintainers = { "@clason" }, +} + list.vue = { install_info = { url = "https://github.com/ikatyang/tree-sitter-vue", diff --git a/queries/help/highlights.scm b/queries/vimdoc/highlights.scm index c0d88301b..c0d88301b 100644 --- a/queries/help/highlights.scm +++ b/queries/vimdoc/highlights.scm diff --git a/queries/help/injections.scm b/queries/vimdoc/injections.scm index 09bbe44e8..09bbe44e8 100644 --- a/queries/help/injections.scm +++ b/queries/vimdoc/injections.scm |
