Mercurial > vim
view ci/if_ver-cmd.vim @ 21192:0016cba920ef v8.2.1147
patch 8.2.1147: :confirm may happen in cooked mode
Commit: https://github.com/vim/vim/commit/27321dbeedf8bb833c48b01bf18536125794f65e
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Jul 6 21:24:57 2020 +0200
patch 8.2.1147: :confirm may happen in cooked mode
Problem: :confirm may happen in cooked mode. (Jason Franklin)
Solution: Switch to raw mode before prompting. (Brandon Pfeifer)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 06 Jul 2020 21:30:04 +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>)