view ci/if_ver-cmd.vim @ 24375:fe4b6fc7149c v8.2.2728

patch 8.2.2728: special key names don't work if 'isident' is cleared Commit: https://github.com/vim/vim/commit/e3d1f4c982bd0fe05496448d7868268c75ff7bfb Author: Bram Moolenaar <Bram@vim.org> Date: Tue Apr 6 20:21:59 2021 +0200 patch 8.2.2728: special key names don't work if 'isident' is cleared Problem: Special key names don't work if 'isident' is cleared. Solution: Add vim_isNormalIDc() and use it for special key names. (closes #2389)
author Bram Moolenaar <Bram@vim.org>
date Tue, 06 Apr 2021 20:30:05 +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>)