Mercurial > vim
view ci/if_ver-cmd.vim @ 25686:838a0108a92d v8.2.3379
patch 8.2.3379: crash when using NULL job
Commit: https://github.com/vim/vim/commit/271906bc067a8f25422016665001d2e44cf618e2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 28 12:30:12 2021 +0200
patch 8.2.3379: crash when using NULL job
Problem: Crash when using NULL job.
Solution: Copy static string into buffer. (issue https://github.com/vim/vim/issues/8260)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 28 Aug 2021 12:45:06 +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>)