Mercurial > vim
view ci/if_ver-cmd.vim @ 32445:48b95cef8fa2 v9.0.1554
patch 9.0.1554: code for handling 'switchbuf' is repeated
Commit: https://github.com/vim/vim/commit/e42c27d9e8a18e3786f13f17663914cdd0f63f9e
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun May 14 17:24:22 2023 +0100
patch 9.0.1554: code for handling 'switchbuf' is repeated
Problem: Code for handling 'switchbuf' is repeated.
Solution: Add a function to handle 'switchbuf'. (Yegappan Lakshmanan,
closes #12397)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 May 2023 18:30:05 +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>)