summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-10-05 13:29:15 +0100
committerBram Moolenaar <Bram@vim.org>2022-10-05 13:29:15 +0100
commitf3ef026c9897f1d2e3fba47166a4771d507dae91 (patch)
treef46f289180fb90f5c2b51479bf3f39bb9e669813 /src/edit.c
parentd1955987147a299d7bca30cd1b5792535ff0745c (diff)
patch 9.0.0664: bad redrawing with spell checking, using "C" and "$" in 'cpo'v9.0.0664
Problem: Bad redrawing with spell checking, using "C" and "$" in 'cpo'. Solution: Do not redraw the next line when "$" is in 'cpo'. (closes #11285)
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c4
1 files changed, 2 insertions, 2 deletions
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)