aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-01-16 18:44:28 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-01-16 19:54:27 +0800
commitbe15ac06badbea6b11390ad7d9c2ddd4aea73480 (patch)
tree34a1c9fa827b7e51f82272cbe7ef6af2f3f98494 /src/nvim/screen.c
parent7085e5b0c8588618e643c87802afc515f67812d9 (diff)
downloadrneovim-be15ac06badbea6b11390ad7d9c2ddd4aea73480.tar.gz
rneovim-be15ac06badbea6b11390ad7d9c2ddd4aea73480.tar.bz2
rneovim-be15ac06badbea6b11390ad7d9c2ddd4aea73480.zip
feat(statusline): support multibyte fillchar
This includes a partial port of Vim patch 8.2.2569 and some changes to nvim_eval_statusline() to allow a multibyte fillchar. Literally every line of C code touched by that patch has been refactored in Nvim, and that patch contains some irrelevant foldcolumn tests I'm not sure how to port (as Nvim's foldcolumn behavior has diverged from Vim's).
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 538604cf79..0cc25552fe 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -1960,7 +1960,7 @@ static size_t fill_foldcolumn(char_u *p, win_T *wp, foldinfo_T foldinfo, linenr_
level = foldinfo.fi_level;
// If the column is too narrow, we start at the lowest level that
- // fits and use numbers to indicated the depth.
+ // fits and use numbers to indicate the depth.
first_level = level - fdc - closed + 1;
if (first_level < 1) {
first_level = 1;