Mercurial > vim
view ci/if_ver-cmd.vim @ 20852:a9e3208048b2 v8.2.0978
patch 8.2.0978: leaking memory in termcodes test
Commit: https://github.com/vim/vim/commit/0c8059e0b673a11f878acf4067a4b92679f1e0e5
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 14 15:35:58 2020 +0200
patch 8.2.0978: leaking memory in termcodes test
Problem: Leaking memory in termcodes test.
Solution: Set t_8u with set_option_value().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 14 Jun 2020 15:45:04 +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>)