Mercurial > vim
view ci/if_ver-cmd.vim @ 29641:b2cf1634c782 v9.0.0161
patch 9.0.0161: warning for uninitialized variable
Commit: https://github.com/vim/vim/commit/bf9158408a9d27932b8678f824cf1fe32d3cd920
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 6 22:38:02 2022 +0100
patch 9.0.0161: warning for uninitialized variable
Problem: Warning for uninitialized variable. (Tony Mechelynck)
Solution: Initialize line_attr_save.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 06 Aug 2022 23:45:03 +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>)