annotate runtime/indent/changelog.vim @ 33819:f0ba42bd9783 v9.0.2125

patch 9.0.2125: File info disappears when 'cmdheight' has decreased Commit: https://github.com/vim/vim/commit/40ed6711bd385051021691980e8ce16375b4b510 Author: zeertzjq <zeertzjq@outlook.com> Date: Thu Nov 23 20:37:01 2023 +0100 patch 9.0.2125: File info disappears when 'cmdheight' has decreased Problem: File info disappears immediately when 'cmdheight' has just decreased due to switching tabpage and 'shortmess' doesn't contain 'o' or 'O'. Solution: Make sure msg_row isn't smaller than cmdline_row. fixes: #13560 closes: #13561 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Thu, 23 Nov 2023 20:45:05 +0100
parents 73354c21f1e4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
234
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
1 " Vim indent file
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
2 " Language: generic Changelog file
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
3 " Maintainer: noone
237
73354c21f1e4 updated for version 7.0066
vimboss
parents: 234
diff changeset
4 " Last Change: 2005 Mar 29
234
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
5
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
6 " Only load this indent file when no other was loaded.
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
7 if exists("b:did_indent")
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
8 finish
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
9 endif
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
10 let b:did_indent = 1
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
11
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
12 setlocal ai
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
13
a686fd6c8beb updated for version 7.0065
vimboss
parents:
diff changeset
14 let b:undo_indent = "setl ai<"