aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/plines.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-08-23 10:12:00 +0800
committerzeertzjq <zeertzjq@outlook.com>2023-08-23 13:17:17 +0800
commita1d71ad55e0f7149f284178b2d04ac78263b09ff (patch)
treeb20f28212e0fd952a046d0e4150c7c26e54336fc /src/nvim/plines.h
parent3e80b39a8ef9d33090800642d25fadbd282af337 (diff)
downloadrneovim-a1d71ad55e0f7149f284178b2d04ac78263b09ff.tar.gz
rneovim-a1d71ad55e0f7149f284178b2d04ac78263b09ff.tar.bz2
rneovim-a1d71ad55e0f7149f284178b2d04ac78263b09ff.zip
vim-patch:9.0.1783: Display issues with virt text smoothscroll and showbreak
Problem: Wrong display with wrapping virtual text or unprintable chars, 'showbreak' and 'smoothscroll'. Solution: Don't skip cells taken by 'showbreak' in screen lines before "w_skipcol". Combined "n_skip" and "skip_cells". closes: vim/vim#12597 https://github.com/vim/vim/commit/b557f4898208105b674df605403cac1b1292707b
Diffstat (limited to 'src/nvim/plines.h')
-rw-r--r--src/nvim/plines.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/plines.h b/src/nvim/plines.h
index d89dc7b6f6..153d84e8bb 100644
--- a/src/nvim/plines.h
+++ b/src/nvim/plines.h
@@ -19,6 +19,7 @@ typedef struct {
MarkTreeIter cts_iter[1];
int cts_vcol; ///< virtual column at current position
+ int cts_max_head_vcol; ///< see win_lbr_chartabsize()
} chartabsize_T;
#ifdef INCLUDE_GENERATED_DECLARATIONS