Mercurial > vim
view ci/if_ver-cmd.vim @ 35050:ef62cd409cdd draft default tip
runtime(asm): fix undefined variable in indent plugin
Commit: https://github.com/vim/vim/commit/98b12ede31754071f36fb7a73324456c1ee7b89c
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Apr 25 22:42:05 2024 +0200
runtime(asm): fix undefined variable in indent plugin
It's an indent script, so we need to set the b:undo_indent variable
instead of the b:undo_ftplugin var.
fixes: #14602
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Apr 2024 22:45:03 +0200 |
parents | 27ff44268da5 |
children |
line wrap: on
line source
" Provide 'PrintVer' command to print the interface versions. func s:print_ver(lang, ...) if has(a:lang) exec a:lang join(a:000) else echo 'N/A' endif echo '' endfunc command -nargs=+ PrintVer call <SID>print_ver(<f-args>)