Mercurial > vim
view runtime/syntax/icemenu.vim @ 34110:0c40b031e7d8 v9.1.0019
patch 9.1.0019: cmdline may disappear when changing 'cmdheight'
Commit: https://github.com/vim/vim/commit/8610f74382039c9c54d6c4aeb978d252e762360a
Author: Christian Brabandt <cb@256bit.org>
Date: Fri Jan 12 17:34:40 2024 +0100
patch 9.1.0019: cmdline may disappear when changing 'cmdheight'
Problem: cmdline may disappear when changing 'cmdheight'
(after Patch 9.0.0190, @markonm)
Solution: always re-calculate the old_p_ch value, not only
when cmdline_row was higher than expected
fixes: #13822
closes: #13826
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 12 Jan 2024 17:45:06 +0100 |
parents | 43efa4f5a8ea |
children |
line wrap: on
line source
" Vim syntax file " Language: Icewm Menu " Maintainer: James Mahler <James.Mahler@gmail.com> " Last Change: Fri Apr 1 15:13:48 EST 2005 " Extensions: ~/.icewm/menu " Comment: Icewm is a lightweight window manager. This adds syntax " highlighting when editing your user's menu file (~/.icewm/menu). " quit when a syntax file was already loaded if exists("b:current_syntax") finish endif " not case sensitive syntax case ignore " icons .xpm .png and .gif syntax match _icon /"\=\/.*\.xpm"\=/ syntax match _icon /"\=\/.*\.png"\=/ syntax match _icon /"\=\/.*\.gif"\=/ syntax match _icon /"\-"/ " separator syntax keyword _rules separator " prog and menu syntax keyword _ids menu prog " highlights highlight link _rules Underlined highlight link _ids Type highlight link _icon Special let b:current_syntax = "IceMenu"