view ci/if_ver-cmd.vim @ 32303:71c5920fb43e v9.0.1483

patch 9.0.1483: += operator does not work on class member Commit: https://github.com/vim/vim/commit/22363c69945e48a7496f0ae00bc06235084ddd7a Author: Bram Moolenaar <Bram@vim.org> Date: Mon Apr 24 17:15:25 2023 +0100 patch 9.0.1483: += operator does not work on class member Problem: += operator does not work on class member. Solution: Do not skip as if "this." was used. (Christian Brabandt, closes #12263)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Apr 2023 18:30:04 +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>)