view ci/if_ver-cmd.vim @ 28065:25e0e33ea49c v8.2.4557

patch 8.2.4557: confusing comment about 'cursorlineopt' Commit: https://github.com/vim/vim/commit/754d2b40369d8fdcf77fc05cc608f86387016bd9 Author: zeertzjq <zeertzjq@outlook.com> Date: Sun Mar 13 13:40:45 2022 +0000 patch 8.2.4557: confusing comment about 'cursorlineopt' Problem: Confusing comment about 'cursorlineopt'. Solution: Adjust comment. (closes https://github.com/vim/vim/issues/9939) Add parenthesis around logical OR.
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Mar 2022 14:45:03 +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>)