view ci/if_ver-cmd.vim @ 29501:69d24e60f4f8 v9.0.0092

patch 9.0.0092: plugins cannot change v:completed_item Commit: https://github.com/vim/vim/commit/61021aa318ca4c4a6b0182ee93388b2e9b5eefba Author: Shougo Matsushita <Shougo.Matsu@gmail.com> Date: Wed Jul 27 14:40:00 2022 +0100 patch 9.0.0092: plugins cannot change v:completed_item Problem: Plugins cannot change v:completed_item. Solution: Make v:completed_item writeable. (Shougo Matsushita, closes #10801)
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 Jul 2022 15:45:03 +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>)