view ci/if_ver-cmd.vim @ 36415:2fabe88e84c9 draft

runtime(netrw): fix filetype detection for remote files Commit: https://github.com/vim/vim/commit/aa2ce6f58005bc3b81be2bf42f84ffd01ce22d57 Author: Christian Brabandt <cb@256bit.org> Date: Wed Oct 30 18:27:03 2024 +0100 runtime(netrw): fix filetype detection for remote files fixes: https://github.com/vim/vim/issues/15961 while at it, remove the Decho comments in the s:NetrwOptionsRestore() function Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 30 Oct 2024 18:30:03 +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>)