aboutsummaryrefslogtreecommitdiff
path: root/scripts/lintdoc.lua
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lintdoc.lua')
-rwxr-xr-xscripts/lintdoc.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/scripts/lintdoc.lua b/scripts/lintdoc.lua
index 78cf9fed72..d246c51176 100755
--- a/scripts/lintdoc.lua
+++ b/scripts/lintdoc.lua
@@ -10,8 +10,10 @@
print('Running lintdoc ...')
--- gen_help_html requires :helptags to be generated on $VIMRUNTIME/doc
--- :helptags checks for duplicate tags.
+-- gen_help_html.lua requires helptags to be generated in $VIMRUNTIME/doc.
+-- :helptags also checks for duplicate tags.
+-- 🤢 Load netrw so its tags are generated by :helptags.
+vim.cmd [[ packadd netrw ]]
vim.cmd [[ helptags ALL ]]
require('src.gen.gen_help_html').run_validate()