view ci/if_ver-cmd.vim @ 29692:042f357b455d v9.0.0186

patch 9.0.0186: virtual text without highlighting does not show Commit: https://github.com/vim/vim/commit/3331dd03515655ec6b9c1bd374db6e8c27acb27a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 10 16:49:02 2022 +0100 patch 9.0.0186: virtual text without highlighting does not show Problem: Virtual text without highlighting does not show. (Ben Jackson) Solution: Use a text property when it has highlighting or when it has text. (closes #10878)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Aug 2022 18:00: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>)