Mercurial > vim
view ci/if_ver-cmd.vim @ 24719:4ae10e6c3a9c v8.2.2898
patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed
Commit: https://github.com/vim/vim/commit/3552e742898cd57adaf9b8ce32a9056271eab8d2
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 29 12:21:58 2021 +0200
patch 8.2.2898: QuitPre and ExitPre not triggered when GUI window is closed
Problem: QuitPre and ExitPre not triggered when GUI window is closed.
Solution: Call before_quit_autocmds(). (closes https://github.com/vim/vim/issues/8242)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 29 May 2021 12:30: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>)