view ci/if_ver-cmd.vim @ 35529:c9d6178da2e2 v9.1.0525

patch 9.1.0525: Right release selects immediately when pum is truncated. Commit: https://github.com/vim/vim/commit/761a420c66402545acd8ee3ffa17c3a1fc3110e4 Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Jul 4 17:26:37 2024 +0200 patch 9.1.0525: Right release selects immediately when pum is truncated. Problem: Right release selects immediately when pum is truncated. Solution: Use pum_height instead of pum_size when checking click row. Don't place it above mouse row when there is more space below. (zeertzjq) fixes: #15101 closes: #15102 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 04 Jul 2024 17:30: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>)