view ci/if_ver-cmd.vim @ 22037:35c8996a798e v8.2.1568

patch 8.2.1568: prop_find() skips properties in the same line Commit: https://github.com/vim/vim/commit/4da7a259f6b28a4f855a6fa7d0ede5e038600154 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 2 19:59:00 2020 +0200 patch 8.2.1568: prop_find() skips properties in the same line Problem: prop_find() skips properties in the same line if "skipstart" is used. Solution: Use "continue" instead of "break". (closes #6840)
author Bram Moolenaar <Bram@vim.org>
date Wed, 02 Sep 2020 20:00:05 +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>)