Mercurial > vim
view ci/if_ver-cmd.vim @ 22822:0b4658e030cb v8.2.1959
patch 8.2.1959: crash when terminal buffer name is made empty
Commit: https://github.com/vim/vim/commit/00806bceb6dc9c8dcd308e5f7e50f720f7dc71b0
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 5 19:36:38 2020 +0100
patch 8.2.1959: crash when terminal buffer name is made empty
Problem: Crash when terminal buffer name is made empty. (Dhiraj Mishra)
Solution: Fall back to "[No Name]". (closes https://github.com/vim/vim/issues/7262)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 Nov 2020 19:45:04 +0100 |
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>)