aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/move.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2022-06-04 05:56:36 +0200
committerGitHub <noreply@github.com>2022-06-04 11:56:36 +0800
commitff20d40321399fa187bd350f9619cf6418d7eb6e (patch)
tree7b216dffabe674e778f5a72a41d128f416df2591 /src/nvim/move.c
parent86cc33a46412081779b8e6d147c76a2d4d0d7f0f (diff)
downloadrneovim-ff20d40321399fa187bd350f9619cf6418d7eb6e.tar.gz
rneovim-ff20d40321399fa187bd350f9619cf6418d7eb6e.tar.bz2
rneovim-ff20d40321399fa187bd350f9619cf6418d7eb6e.zip
docs: fix typos (#18269)
Co-authored-by: zeertzjq <zeertzjq@outlook.com> Co-authored-by: Dan Sully <dan+github@sully.org> Co-authored-by: saher <msaher.shair@gmail.com> Co-authored-by: Stephan Seitz <stephan.seitz@fau.de> Co-authored-by: Benedikt Mùˆller <d12bb@posteo.de> Co-authored-by: Andrey Mishchenko <mishchea@gmail.com> Co-authored-by: Famiu Haque <famiuhaque@protonmail.com> Co-authored-by: Oliver Marriott <hello@omarriott.com>
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r--src/nvim/move.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c
index 9f72b36638..8c927d30d1 100644
--- a/src/nvim/move.c
+++ b/src/nvim/move.c
@@ -108,14 +108,14 @@ void redraw_for_cursorline(win_T *wp)
}
/// Redraw when w_virtcol changes and 'cursorcolumn' is set or 'cursorlineopt'
-/// contains "screenline" or when the 'CurSearch' highlight is in use.
+/// contains "screenline" or when the "CurSearch" highlight is in use.
/// Also when concealing is on and 'concealcursor' is active.
static void redraw_for_cursorcolumn(win_T *wp)
FUNC_ATTR_NONNULL_ALL
{
if ((wp->w_valid & VALID_VIRTCOL) == 0 && !pum_visible()) {
if (wp->w_p_cuc || ((HL_ATTR(HLF_LC) || wp->w_hl_ids[HLF_LC]) && using_hlsearch())) {
- // When 'cursorcolumn' is set or 'CurSearch' is in use
+ // When 'cursorcolumn' is set or "CurSearch" is in use
// need to redraw with SOME_VALID.
redraw_later(wp, SOME_VALID);
} else if (wp->w_p_cul && (wp->w_p_culopt_flags & CULOPT_SCRLINE)) {