diff options
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/gen_help_html.lua | 1 | ||||
-rwxr-xr-x | scripts/gen_vimdoc.lua | 17 |
2 files changed, 15 insertions, 3 deletions
diff --git a/scripts/gen_help_html.lua b/scripts/gen_help_html.lua index b61f01f124..cdfb85bde6 100644 --- a/scripts/gen_help_html.lua +++ b/scripts/gen_help_html.lua @@ -1440,7 +1440,6 @@ function M.test_gen(help_dir) -- Because gen() is slow (~30s), this test is limited to a few files. { 'help.txt', 'index.txt', 'nvim.txt' } ) - eq(3, #rv.helpfiles) eq(0, rv.err_count, 'parse errors in :help docs') eq({}, rv.invalid_links, 'invalid tags in :help docs') end diff --git a/scripts/gen_vimdoc.lua b/scripts/gen_vimdoc.lua index eea5688621..9c6225efc3 100755 --- a/scripts/gen_vimdoc.lua +++ b/scripts/gen_vimdoc.lua @@ -162,7 +162,6 @@ local config = { 'snippet.lua', 'text.lua', 'tohtml.lua', - 'health.lua', }, files = { 'runtime/lua/vim/iter.lua', @@ -182,7 +181,6 @@ local config = { 'runtime/lua/vim/snippet.lua', 'runtime/lua/vim/text.lua', 'runtime/lua/vim/glob.lua', - 'runtime/lua/vim/health.lua', 'runtime/lua/vim/_meta/builtin.lua', 'runtime/lua/vim/_meta/diff.lua', 'runtime/lua/vim/_meta/mpack.lua', @@ -363,6 +361,21 @@ local config = { fun.name = vim.split(fun.name, '.', { plain = true })[2] end, }, + health = { + filename = 'health.txt', + files = { + 'runtime/lua/vim/health.lua', + }, + section_order = { + 'health.lua', + }, + section_fmt = function(_name) + return 'Checkhealth' + end, + helptag_fmt = function(name) + return name:lower() + end, + }, } --- @param ty string |