view ci/if_ver-cmd.vim @ 26234:92bad8cd95d5 v8.2.3648

patch 8.2.3648: "verbose pwd" is incorrect after dropping files on Vim Commit: https://github.com/vim/vim/commit/4671e88d7d3ed12206d9cdd8892fe3b2cbc0d6ab Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 22 17:21:48 2021 +0000 patch 8.2.3648: "verbose pwd" is incorrect after dropping files on Vim Problem: "verbose pwd" is incorrect after dropping files on Vim. Solution: Set the chdir reason to "drop".
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Nov 2021 18:30:05 +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>)