view runtime/doc/doctags.vim @ 19481:c27837cbe922 v8.2.0298

patch 8.2.0298: Vim9 script: cannot start command with a string constant Commit: https://github.com/vim/vim/commit/0c6ceaf90389b41545d803458c4813013811c756 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 22 18:36:32 2020 +0100 patch 8.2.0298: Vim9 script: cannot start command with a string constant Problem: Vim9 script: cannot start command with a string constant. Solution: Recognize expression starting with '('.
author Bram Moolenaar <Bram@vim.org>
date Sat, 22 Feb 2020 18:45:04 +0100
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!