mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
fix(plines): cursor position with 'showbreak' and resized grid (#28067)
This commit is contained in:
@@ -236,7 +236,7 @@ CharSize charsize_regular(CharsizeArg *csarg, char *const cur, colnr_T const vco
|
||||
wcol += col_off_prev;
|
||||
}
|
||||
|
||||
if (wcol + size > wp->w_width) {
|
||||
if (wcol + size > wp->w_width_inner) {
|
||||
// cells taken by 'showbreak'/'breakindent' halfway current char
|
||||
int head_mid = csarg->indent_width;
|
||||
if (head_mid == INT_MIN) {
|
||||
|
Reference in New Issue
Block a user