summaryrefslogtreecommitdiffstats
path: root/runtime/doc/doctags.vim
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--runtime/doc/doctags.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/doc/doctags.vim b/runtime/doc/doctags.vim
new file mode 100644
index 0000000..833dbef
--- /dev/null
+++ b/runtime/doc/doctags.vim
@@ -0,0 +1,13 @@
+" This script makes a tags file for help text.
+"
+" Usage: vim -eX -u doctags.vim
+
+try
+ helptags ++t .
+ echo 'help tags updated'
+catch
+ echo v:exception
+ echo 'help tags failed update'
+endtry
+echo ''
+qa!