view ci/if_ver-cmd.vim @ 22997:00548e40e708 v8.2.2045

patch 8.2.2045: highlighting a character too much with incsearch Commit: https://github.com/vim/vim/commit/448465e6872905967c97a56cd45307530795653c Author: Bram Moolenaar <Bram@vim.org> Date: Wed Nov 25 13:49:27 2020 +0100 patch 8.2.2045: highlighting a character too much with incsearch Problem: Highlighting a character too much with incsearch. Solution: Check "search_match_endcol". (Christian Brabandt, closes https://github.com/vim/vim/issues/7360)
author Bram Moolenaar <Bram@vim.org>
date Wed, 25 Nov 2020 14:00: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>)