view ci/if_ver-cmd.vim @ 34448:e21d2759a5c2 v9.1.0141

patch 9.1.0141: Put in Visual mode wrong if it replaces fold marker Commit: https://github.com/vim/vim/commit/4e141c66b9104136ddcf9cc240d2fbc83d825a5a Author: zeertzjq <zeertzjq@outlook.com> Date: Wed Feb 28 21:49:51 2024 +0100 patch 9.1.0141: Put in Visual mode wrong if it replaces fold marker Problem: Put in Visual mode wrong if it replaces fold marker. Solution: Temporarily disable folding during put in Visual mode. (zeertzjq) fixes: #14097 closes: #14100 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 28 Feb 2024 22:00:04 +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>)