aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_help_html.lua
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2023-03-31 17:09:00 +0200
committerChristian Clason <c.clason@uni-graz.at>2023-04-01 15:07:16 +0200
commitd7f7450017b9b05303698a6cda54303ef22c63b3 (patch)
treee6b48fffc27a65f3cb4389741926933e4dec81d3 /scripts/gen_help_html.lua
parent2a298f2e48eb081f2e3b58068af589b82fe76a18 (diff)
downloadrneovim-d7f7450017b9b05303698a6cda54303ef22c63b3.tar.gz
rneovim-d7f7450017b9b05303698a6cda54303ef22c63b3.tar.bz2
rneovim-d7f7450017b9b05303698a6cda54303ef22c63b3.zip
refactor(treesitter)!: rename help parser to vimdoc
Diffstat (limited to 'scripts/gen_help_html.lua')
-rw-r--r--scripts/gen_help_html.lua6
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