diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-03-13 13:40:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-13 13:40:45 +0000 |
commit | 754d2b40369d8fdcf77fc05cc608f86387016bd9 (patch) | |
tree | 82587bb8393d75027d252c05ff6a78bf28bc3809 /src | |
parent | 4f3321f704ec0c2a522f12a580530283ae28856f (diff) |
patch 8.2.4557: confusing comment about 'cursorlineopt'v8.2.4557
Problem: Confusing comment about 'cursorlineopt'.
Solution: Adjust comment. (closes #9939) Add parenthesis around logical
OR.
Diffstat (limited to 'src')
-rw-r--r-- | src/drawline.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/drawline.c b/src/drawline.c index 19b0573356..d8b7c4aad1 100644 --- a/src/drawline.c +++ b/src/drawline.c @@ -1182,8 +1182,8 @@ win_line( #ifdef FEAT_SYN_HL // When 'cursorline' is set highlight the line number of // the current line differently. - // When 'cursorlineopt' has "screenline" only highlight - // the line number itself. + // When 'cursorlineopt' does not have "line" only + // highlight the line number itself. // TODO: Can we use CursorLine instead of CursorLineNr // when CursorLineNr isn't set? if (wp->w_p_cul @@ -1191,7 +1191,7 @@ win_line( && (wp->w_p_culopt_flags & CULOPT_NBR) && (row == startrow + filler_lines || (row > startrow + filler_lines - && wp->w_p_culopt_flags & CULOPT_LINE))) + && (wp->w_p_culopt_flags & CULOPT_LINE)))) char_attr = hl_combine_attr(wcr_attr, HL_ATTR(HLF_CLN)); #endif if (wp->w_p_rnu && lnum < wp->w_cursor.lnum diff --git a/src/version.c b/src/version.c index ac3be8b115..9a624cfbc4 100644 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4557, +/**/ 4556, /**/ 4555, |