From f3ef026c9897f1d2e3fba47166a4771d507dae91 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 5 Oct 2022 13:29:15 +0100 Subject: patch 9.0.0664: bad redrawing with spell checking, using "C" and "$" in 'cpo' Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'. Solution: Do not redraw the next line when "$" is in 'cpo'. (closes #11285) --- src/edit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/edit.c') diff --git a/src/edit.c b/src/edit.c index 2484fe555d..ab268c185d 100644 --- a/src/edit.c +++ b/src/edit.c @@ -1738,8 +1738,8 @@ edit_unputchar(void) } /* - * Called when p_dollar is set: display a '$' at the end of the changed text - * Only works when cursor is in the line that changes. + * Called when "$" is in 'cpoptions': display a '$' at the end of the changed + * text. Only works when cursor is in the line that changes. */ void display_dollar(colnr_T col_arg) -- cgit v1.2.3