Mercurial > vim
view ci/if_ver-cmd.vim @ 27124:8f1f4f6c87ad v8.2.4091
patch 8.2.4091: virtcol is recomputed for statusline unnecessarily
Commit: https://github.com/vim/vim/commit/0f112052acaeffd75b7eb001eeb8a246ad12a276
Author: zeertzjq <zeertzjq@outlook.com>
Date: Fri Jan 14 20:11:38 2022 +0000
patch 8.2.4091: virtcol is recomputed for statusline unnecessarily
Problem: Virtcol is recomputed for statusline unnecessarily.
Solution: Just use "w_virtcol". (closes https://github.com/vim/vim/issues/9523)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 14 Jan 2022 21:15:04 +0100 |
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>)