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/api/vim.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/api/vim.c')
-rw-r--r-- | src/nvim/api/vim.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/api/vim.c b/src/nvim/api/vim.c index e4dc219e9a..a9787787d1 100644 --- a/src/nvim/api/vim.c +++ b/src/nvim/api/vim.c @@ -57,6 +57,7 @@ #include "nvim/popupmenu.h" #include "nvim/runtime.h" #include "nvim/state.h" +#include "nvim/statusline.h" #include "nvim/types.h" #include "nvim/ui.h" #include "nvim/vim.h" |