Mercurial > vim
view ci/if_ver-cmd.vim @ 23954:9c8a20cfa540 v8.2.2519
patch 8.2.2519: Vim9: no reason to keep strange Vi behavior
Commit: https://github.com/vim/vim/commit/b8554304c3673b081e9b5996f009fd0e4307e482
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Feb 15 21:30:30 2021 +0100
patch 8.2.2519: Vim9: no reason to keep strange Vi behavior
Problem: Vim9: no reason to keep strange Vi behavior.
Solution: ":3" and ":3|" both go to line 3. ":|" does not print the line.
(closes #7840)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 15 Feb 2021 21: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>)