view ci/if_ver-cmd.vim @ 22000:afa3080a96ae v8.2.1549

patch 8.2.1549: "r" fails if 'esckeys' is off and modifyOtherKeys is used Commit: https://github.com/vim/vim/commit/ca774f67534e6d1843fda9d1dc9a899972d27577 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 30 20:46:38 2020 +0200 patch 8.2.1549: "r" fails if 'esckeys' is off and modifyOtherKeys is used Problem: The "r" command fails for keys with modifiers if 'esckeys' is off and modifyOtherKeys is used. (Lauri Tirkkonen) Solution: Temporarily disable bracketed paste and modifyOtherKeys if 'esckeys' is off. (closes #6809)
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Aug 2020 21:00:03 +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>)