Mercurial > vim
view ci/if_ver-cmd.vim @ 24192:dced82a0e5b2 v8.2.2637
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed
Commit: https://github.com/vim/vim/commit/09f8b3a02200a1900a8bb41d7436f9d17ebd2d1b
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 21 22:29:54 2021 +0100
patch 8.2.2637: prop_remove() causes a redraw even when nothing changed
Problem: prop_remove() causes a redraw even when nothing changed.
Solution: Only redraw if a property was removed.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Mar 2021 22:30:03 +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>)