diff options
author | zeertzjq <zeertzjq@outlook.com> | 2025-02-22 06:05:32 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 22:05:32 +0000 |
commit | 4ff813e5c61afe495ba5e2a0a5c933585f1329ca (patch) | |
tree | 26a7b49285ff68a3f302768480284d7994de61c1 /src/nvim | |
parent | cbad2c662873bf791309505418407c804db219b7 (diff) | |
download | rneovim-4ff813e5c61afe495ba5e2a0a5c933585f1329ca.tar.gz rneovim-4ff813e5c61afe495ba5e2a0a5c933585f1329ca.tar.bz2 rneovim-4ff813e5c61afe495ba5e2a0a5c933585f1329ca.zip |
vim-patch:9.1.1130: 'listchars' "precedes" is not drawn on Tabs. (#32563)
Problem: 'listchars' "precedes" is not drawn on Tabs.
Solution: Only draw 'listchars' "precedes" when not skipping over cells.
(zeertzjq)
fixes: vim/vim#5927
closes: vim/vim#16691
https://github.com/vim/vim/commit/13f100e9328b1344fec79806791eb3f5234d4ccc
Diffstat (limited to 'src/nvim')
-rw-r--r-- | src/nvim/drawline.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c index dc5dbb958a..679f92c3b8 100644 --- a/src/nvim/drawline.c +++ b/src/nvim/drawline.c @@ -2581,6 +2581,7 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, int col_rows, s && wp->w_p_list && (wp->w_p_wrap ? (wp->w_skipcol > 0 && wlv.row == 0) : wp->w_leftcol > 0) && wlv.filler_todo <= 0 + && wlv.skip_cells <= 0 && mb_schar != NUL) { lcs_prec_todo = NUL; // TODO(zeertzjq): handle the n_extra > 0 case |