view ci/if_ver-cmd.vim @ 32427:11bc7fa31c3b v9.0.1545

patch 9.0.1545: text not scrolled when cursor moved with "g0" and "h" Commit: https://github.com/vim/vim/commit/8667a5678f983ba899825b810ab849952d49bcb8 Author: Luuk van Baal <luukvbaal@gmail.com> Date: Fri May 12 15:47:25 2023 +0100 patch 9.0.1545: text not scrolled when cursor moved with "g0" and "h" Problem: Text not scrolled when cursor moved with "g0" and "h". Solution: Adjust w_skipcol when needed. (Luuk van Baal, closes https://github.com/vim/vim/issues/12387)
author Bram Moolenaar <Bram@vim.org>
date Fri, 12 May 2023 17: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>)