Mercurial > vim
view ci/if_ver-cmd.vim @ 22872:5a7db84713dc v8.2.1983
patch 8.2.1983: ml_get error when using <Cmd> to open a terminal
Commit: https://github.com/vim/vim/commit/f4d61bc559f8cb6adc4880183a4fd216865c0c30
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 14 14:22:28 2020 +0100
patch 8.2.1983: ml_get error when using <Cmd> to open a terminal
Problem: ml_get error when using <Cmd> to open a terminal.
Solution: If the window changed reset the incsearch state. (closes https://github.com/vim/vim/issues/7289)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 14 Nov 2020 14:30:03 +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>)