Mercurial > vim
view ci/if_ver-1.vim @ 20774:10535993e913 v8.2.0939
patch 8.2.0939: checking for term escape sequences is long and confusing
Commit: https://github.com/vim/vim/commit/218cb0fb62d29fba552281c2e8ffeb4046d540c4
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jun 9 21:26:36 2020 +0200
patch 8.2.0939: checking for term escape sequences is long and confusing
Problem: checking for term escape sequences is long and confusing
Solution: Refactor code into separate functions.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 09 Jun 2020 21:30:03 +0200 |
parents | 27ff44268da5 |
children | 0878f0fd349b |
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(_VERSION) 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