view runtime/doc/doctags.vim @ 33570:28c2f681ec33 v9.0.2030

patch 9.0.2030: no max callback recursion limit Commit: https://github.com/vim/vim/commit/47510f3d6598a1218958c03ed11337a43b73f48d Author: Christian Brabandt <cb@256bit.org> Date: Sun Oct 15 09:56:16 2023 +0200 patch 9.0.2030: no max callback recursion limit Problem: no max callback recursion limit Solution: bail out, if max call recursion for callback functions has been reached. This checks the 'maxfuncdepth' setting and throws E169 when a callback function recursively calls itself. closes: #13337 closes: #13339 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 15 Oct 2023 10:00:06 +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!