| Bram Moolenaar | 2387773 | 2020-01-21 22:13:42 +0100 | [diff] [blame] | 1 | " Provide 'PrintVer' command to print the interface versions. |
| 2 | |||||
| 3 | func s:print_ver(lang, ...) | ||||
| 4 | if has(a:lang) | ||||
| 5 | exec a:lang join(a:000) | ||||
| 6 | else | ||||
| 7 | echo 'N/A' | ||||
| 8 | endif | ||||
| 9 | echo '' | ||||
| 10 | endfunc | ||||
| 11 | |||||
| 12 | command -nargs=+ PrintVer call <SID>print_ver(<f-args>) | ||||