diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-08-19 12:37:58 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-08-19 22:48:03 +0200 |
commit | 6adc2ae7e0d86f7b2a4292a666eeaa50a1473915 (patch) | |
tree | ea1ec2a1816fb4dbbb034b4851c39eb389d9310b /src/nvim/edit.c | |
parent | b2f979b30beac67906b2dd717fcb6a34f46f5e54 (diff) | |
download | rneovim-6adc2ae7e0d86f7b2a4292a666eeaa50a1473915.tar.gz rneovim-6adc2ae7e0d86f7b2a4292a666eeaa50a1473915.tar.bz2 rneovim-6adc2ae7e0d86f7b2a4292a666eeaa50a1473915.zip |
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.
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index 05abeee550..6583ac8584 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -1349,7 +1349,7 @@ void ins_redraw(bool ready) } else if (clear_cmdline || redraw_cmdline) { showmode(); // clear cmdline and show mode } - showruler(false); + show_cursor_info(false); setcursor(); emsg_on_display = false; // may remove error message now } |