Mercurial > vim
view ci/if_ver-1.vim @ 31075:9fe10dc9aeec v9.0.0872
patch 9.0.0872: code is indented more than needed
Commit: https://github.com/vim/vim/commit/623e94e13810e109c6aa201bcf3a8278429502f3
Author: Yegappan Lakshmanan <yegappan@yahoo.com>
Date: Sun Nov 13 18:11:17 2022 +0000
patch 9.0.0872: code is indented more than needed
Problem: Code is indented more than needed.
Solution: Return early. (Yegappan Lakshmanan, closes https://github.com/vim/vim/issues/11538)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 13 Nov 2022 19:15:04 +0100 |
parents | 0878f0fd349b |
children |
line wrap: on
line source
" Print all interface versions for Ubuntu. Part 1. if 1 execute 'source' expand('<sfile>:h') .. '/if_ver-cmd.vim' echo "*** Interface versions ***\n" echo 'Lua:' PrintVer lua print(vim.lua_version, jit and "(LuaJIT)" or "") echo 'MzScheme:' PrintVer mzscheme (display (version)) echo 'Perl:' PrintVer perl print $^V echo 'Ruby:' PrintVer ruby print RUBY_VERSION echo 'Tcl:' PrintVer tcl puts [info patchlevel] echo 'Python 2:' PrintVer python print sys.version endif