From 6adc2ae7e0d86f7b2a4292a666eeaa50a1473915 Mon Sep 17 00:00:00 2001 From: bfredl Date: Fri, 19 Aug 2022 12:37:58 +0200 Subject: refactor: move statusline code from buffer.c and [draw]screen.c to new file problem: code for drawing statusline is arbitrarily spreadout between drawscreen.c, screen.c and buffer.c solution: move it to a new file statusline.c - rename archaic internal name "status match" to public name "wildmenu" - showruler() does not show the ruler. it show anything which displays info about the cursor. Rename it accordingy. --- src/nvim/normal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/nvim/normal.c') diff --git a/src/nvim/normal.c b/src/nvim/normal.c index c87c0cbb6e..1d8a786c9f 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -1322,7 +1322,7 @@ static void normal_redraw(NormalState *s) did_emsg = false; msg_didany = false; // reset lines_left in msg_start() may_clear_sb_text(); // clear scroll-back text on next msg - showruler(false); + show_cursor_info(false); setcursor(); } -- cgit