Mercurial > vim
view ci/if_ver-cmd.vim @ 29299:922b87383277 v8.2.5166
patch 8.2.5166: test for DiffUpdated fails
Commit: https://github.com/vim/vim/commit/f65cc665fa751bad3ffe75f58ce1251d6695949f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 26 18:17:50 2022 +0100
patch 8.2.5166: test for DiffUpdated fails
Problem: Test for DiffUpdated fails.
Solution: Also accept a count of two.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jun 2022 19:30:02 +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>)