view ci/if_ver-cmd.vim @ 32601:c659c4a5aae2 v9.0.1632

patch 9.0.1632: not all cabal config files are recognized Commit: https://github.com/vim/vim/commit/166cd7b801ebe4aa042a9bbd6007d1951800aaa9 Author: Marcin Szamotulski <coot@coot.me> Date: Wed Jun 14 19:45:43 2023 +0100 patch 9.0.1632: not all cabal config files are recognized Problem: Not all cabal config files are recognized. Solution: Add a couple of patterns. (Marcin Szamotulski, closes https://github.com/vim/vim/issues/12463)
author Bram Moolenaar <Bram@vim.org>
date Wed, 14 Jun 2023 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>)