view ci/if_ver-cmd.vim @ 25376:485ae4421331 v8.2.3225

patch 8.2.3225: incsearch highlighting is attempted halfway a mapping Commit: https://github.com/vim/vim/commit/ccb148ac63941feba879ea4678aa4713d81494f2 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 26 21:11:32 2021 +0200 patch 8.2.3225: incsearch highlighting is attempted halfway a mapping Problem: Incsearch highlighting is attempted halfway a mapping. Solution: Only do incsearch highlighting if keys were typed or there is no more typeahead.
author Bram Moolenaar <Bram@vim.org>
date Mon, 26 Jul 2021 21:15:08 +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>)