aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2022-07-31 17:06:32 +0900
committerzeertzjq <zeertzjq@outlook.com>2022-07-31 17:15:36 +0800
commit81a1d26c3eee816abaa3d0e611a8b1a0e473d3a1 (patch)
treeb4b14f57c36376c382bf9116f85aa84633749024 /src/nvim/screen.c
parentabc087f4c65ca547cae58518b42aee82ff4a07f6 (diff)
downloadrneovim-81a1d26c3eee816abaa3d0e611a8b1a0e473d3a1.tar.gz
rneovim-81a1d26c3eee816abaa3d0e611a8b1a0e473d3a1.tar.bz2
rneovim-81a1d26c3eee816abaa3d0e611a8b1a0e473d3a1.zip
vim-patch:9.0.0114: the command line takes up space even when not used
Problem: The command line takes up space even when not used. Solution: Allow for 'cmdheight' to be set to zero. (Shougo Matsushita, closes vim/vim#10675, closes vim/vim#940) https://github.com/vim/vim/commit/f39cfb72629f3e7fefaf578a3faa2619cd0654f8 Omit win_redr_ruler() change: winbar may still need redraw. Omit win_update() changes: Nvim doesn't use `Rows` there. Omit redraw_asap(): removed.
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index a28c7c63b1..5e20b35c5e 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -6501,7 +6501,7 @@ static void win_redr_ruler(win_T *wp, bool always)
bool is_stl_global = global_stl_height() > 0;
static bool did_show_ext_ruler = false;
- // If 'ruler' off or redrawing disabled, don't do anything
+ // If 'ruler' off, don't do anything
if (!p_ru) {
return;
}