view ci/if_ver-cmd.vim @ 22709:ecf0a8d6d4df v8.2.1903

patch 8.2.1903: buffer test fails with normal features Commit: https://github.com/vim/vim/commit/37e4e03c67dacfc4a065e95492ffc4c7f490b44b Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 25 16:18:26 2020 +0100 patch 8.2.1903: buffer test fails with normal features Problem: Buffer test fails with normal features. Solution: Use 'numberwidth' instead of 'conceallevel' in the test.
author Bram Moolenaar <Bram@vim.org>
date Sun, 25 Oct 2020 16:30: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>)