view ci/if_ver-cmd.vim @ 23262:dca9e6b931d3 v8.2.2177

patch 8.2.2177: pattern "^" does not match if first character is combining Commit: https://github.com/vim/vim/commit/ef2dff52de52c17fe1bd7c06cbb32d8955901f5a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 21 14:54:32 2020 +0100 patch 8.2.2177: pattern "^" does not match if first character is combining Problem: Pattern "^" does not match if the first character in the line is combining. (Rene Kita) Solution: Do accept a match at the start of the line. (closes #6963)
author Bram Moolenaar <Bram@vim.org>
date Mon, 21 Dec 2020 15: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>)