Mercurial > vim
view ci/if_ver-cmd.vim @ 27827:0a0ad6453e67 v8.2.4439
patch 8.2.4439: accepting "iso8859" 'encoding' as "iso-8859-"
Commit: https://github.com/vim/vim/commit/1349bd712cf7d24dc65408c523dd7deb30224f80
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 22 12:34:28 2022 +0000
patch 8.2.4439: accepting "iso8859" 'encoding' as "iso-8859-"
Problem: Accepting "iso8859" 'encoding' as "iso-8859-".
Solution: use "iso8859" as "iso-8859-1".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Feb 2022 13:45: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>)