diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-04-01 15:39:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 15:39:25 +0200 |
commit | 19110eddb96a125dd391d2a215e04a7ae376ccf1 (patch) | |
tree | 520bb7db80fbeeec027d516872459bba05280970 /scripts | |
parent | 4f66530af1d5e501f7b57ddd79e9c185af1b5f39 (diff) | |
parent | 438c3419df00d6f943a1c932bb1d60ab15bd08e9 (diff) | |
download | rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.tar.gz rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.tar.bz2 rneovim-19110eddb96a125dd391d2a215e04a7ae376ccf1.zip |
Merge pull request #22837 from clason/ts-sync
build(deps): bump tree-sitter-viml to HEAD
fix(tests): adapt treesitter/highlight_spec priority test
fix(treesitter): update queries from nvim-treesitter
refactor(treesitter)!: rename help parser to vimdoc
docs(treesitter): add query injections
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gen_help_html.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua index 2563f2f410..367ce60765 100644 --- a/scripts/gen_help_html.lua +++ b/scripts/gen_help_html.lua @@ -624,7 +624,7 @@ local function get_helptags(help_dir) return m end --- Use the help.so parser defined in the build, not whatever happens to be installed on the system. +-- Use the vimdoc parser defined in the build, not whatever happens to be installed on the system. local function ensure_runtimepath() if not vim.o.runtimepath:find('build/lib/nvim/') then vim.cmd[[set runtimepath^=./build/lib/nvim/]] @@ -643,8 +643,8 @@ local function parse_buf(fname) buf = fname vim.cmd('sbuffer '..tostring(fname)) -- Buffer number. end - -- vim.treesitter.require_language('help', './build/lib/nvim/parser/help.so') - local lang_tree = vim.treesitter.get_parser(buf, 'help') + -- vim.treesitter.require_language('help', './build/lib/nvim/parser/vimdoc.so') + local lang_tree = vim.treesitter.get_parser(buf) return lang_tree, buf end |