Mercurial > vim
view runtime/keymap/pinyin.vim @ 32826:7c4ad06d80ec v9.0.1726
patch 9.0.1726: incorrect heights in win_size_restore()
Commit: https://github.com/vim/vim/commit/876f5fb570d8401aa4c58af4a5da91f10520aa9d
Author: Sean Dewar <seandewar@users.noreply.github.com>
Date: Thu Aug 17 22:40:05 2023 +0200
patch 9.0.1726: incorrect heights in win_size_restore()
Problem: incorrect heights in win_size_restore()
Solution: avoid restoring incorrect heights in win_size_restore()
Changing 'showtabline' or 'cmdheight' in the cmdwin restores incorrect
window heights after closing the cmdwin.
This may produce a gap between the cmdline and the window above.
Solution: restore window sizes only if the number of lines available for windows
changed; subtract the rows of the tabline, cmdline and last window's statusline
from 'lines' (other statuslines don't matter).
closes: #12704
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Sean Dewar <seandewar@users.noreply.github.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 17 Aug 2023 22:45:06 +0200 |
parents | 03fa8a51e9dc |
children |
line wrap: on
line source
" Vim Keymap file for Hanyu Pinyin tone marks through numbers. " Maintainer: Fredrik Roubert <fredrik@roubert.name> " Last Changed: February 15, 2004 " All characters are given literally. scriptencoding utf-8 " Use this short name in the status line. let b:keymap_name = "py" loadkeymap a0 a a1 ā a2 á a3 ǎ a4 à a5 a e0 e e1 ē e2 é e3 ě e4 è e5 e i0 i i1 ī i2 í i3 ǐ i4 ì i5 i o0 o o1 ō o2 ó o3 ǒ o4 ò o5 o u0 u u1 ū u2 ú u3 ǔ u4 ù u5 u ü0 ü ü1 ǖ ü2 ǘ ü3 ǚ ü4 ǜ ü5 ü v0 ü v1 ǖ v2 ǘ v3 ǚ v4 ǜ v5 ü