Mercurial > vim
view ci/if_ver-cmd.vim @ 24663:ce7a80bd0fd5 v8.2.2870
patch 8.2.2870: CmdlineChange event triggered twice for CTRL-R
Commit: https://github.com/vim/vim/commit/796139ae3ac89e27ee96dce3c7fdb87d8c839f53
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue May 18 21:38:45 2021 +0200
patch 8.2.2870: CmdlineChange event triggered twice for CTRL-R
Problem: CmdlineChange event triggered twice for CTRL-R.
Solution: Return CMDLINE_NOT_CHANGED from cmdline_insert_reg().
(closes #8219)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 18 May 2021 21:45:03 +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>)