view ci/if_ver-cmd.vim @ 36502:869d3c6187bd draft

runtime(dune): use :setl instead of :set in ftplugin Commit: https://github.com/vim/vim/commit/a14c457cad99621db7950b78e7d257c300b7d897 Author: Dani Dickstein <daniel.dickstein@gmail.com> Date: Sat Nov 9 11:53:54 2024 +0100 runtime(dune): use :setl instead of :set in ftplugin closes: https://github.com/vim/vim/issues/11419 Signed-off-by: Dani Dickstein <daniel.dickstein@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sat, 09 Nov 2024 12:00: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>)