view runtime/doc/doctags.vim @ 28283:2fd2ce8a556c v8.2.4667

patch 8.2.4667: expandcmd() fails on an error Commit: https://github.com/vim/vim/commit/5018a836c030988944a9bbe2fd2e538bf5261a72 Author: Yegappan Lakshmanan <yegappan@yahoo.com> Date: Sat Apr 2 21:12:21 2022 +0100 patch 8.2.4667: expandcmd() fails on an error Problem: expandcmd() fails on an error. Solution: On failure return the command unmodified. (yegappan Lakshmanan, closes #10063)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Apr 2022 22:15:03 +0200
parents 27ff44268da5
children
line wrap: on
line source

" 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!