updated for version 7.3.479
Problem: When 'cursorline' is set the line number highlighting can't be set
separately.
Solution: Add "CursorLineNr". (Howard Buchholz)
diff --git a/src/screen.c b/src/screen.c
index 97d636d..fd74707 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -3501,9 +3501,11 @@
char_attr = hl_attr(HLF_N);
#ifdef FEAT_SYN_HL
/* When 'cursorline' is set highlight the line number of
- * the current line differently. */
+ * the current line differently.
+ * TODO: Can we use CursorLine instead of CursorLineNr
+ * when CursorLineNr isn't set? */
if (wp->w_p_cul && lnum == wp->w_cursor.lnum)
- char_attr = hl_combine_attr(hl_attr(HLF_CUL), char_attr);
+ char_attr = hl_attr(HLF_CLN);
#endif
}
}