Mercurial > vim
view ci/if_ver-cmd.vim @ 29220:d6f8b784d0f6 v8.2.5129
patch 8.2.5129: timeout handling is not optimal
Commit: https://github.com/vim/vim/commit/1f30caff8b63beda75a5dcd15ffe3e9e818ed483
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 19 14:36:35 2022 +0100
patch 8.2.5129: timeout handling is not optimal
Problem: Timeout handling is not optimal.
Solution: Avoid setting timeout_flag twice. Adjust the pointer when
stopping the regexp timeout. Adjust variable name.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 19 Jun 2022 15:45:02 +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>)