view ci/if_ver-cmd.vim @ 32578:8f0da069a311 v9.0.1621

patch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times Commit: https://github.com/vim/vim/commit/c81dfaa69ceec9f6b88caf1dcdf2f859d4fcae47 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jun 8 22:16:23 2023 +0100 patch 9.0.1621: FILETYPE_FILE is defined to the same value multiple times Problem: FILETYPE_FILE is defined to the same value multiple times. Same for a few similar macros. Solution: Define FILETYPE_FILE and others in feature.h only
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Jun 2023 23:30:04 +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>)