mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
lint
This commit is contained in:
@@ -4045,14 +4045,15 @@ win_line (
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* advance to the next 'colorcolumn' */
|
// advance to the next 'colorcolumn'
|
||||||
if (draw_color_col)
|
if (draw_color_col) {
|
||||||
draw_color_col = advance_color_col(VCOL_HLC, &color_cols);
|
draw_color_col = advance_color_col(VCOL_HLC, &color_cols);
|
||||||
|
}
|
||||||
|
|
||||||
/* Highlight the cursor column if 'cursorcolumn' is set. But don't
|
// Highlight the cursor column if 'cursorcolumn' is set. But don't
|
||||||
* highlight the cursor position itself.
|
// highlight the cursor position itself.
|
||||||
* Also highlight the 'colorcolumn' if it is different than
|
// Also highlight the 'colorcolumn' if it is different than
|
||||||
* 'cursorcolumn' */
|
// 'cursorcolumn'
|
||||||
vcol_save_attr = -1;
|
vcol_save_attr = -1;
|
||||||
if (draw_state == WL_LINE && !lnum_in_visual_area
|
if (draw_state == WL_LINE && !lnum_in_visual_area
|
||||||
&& search_attr == 0 && area_attr == 0) {
|
&& search_attr == 0 && area_attr == 0) {
|
||||||
@@ -4071,10 +4072,8 @@ win_line (
|
|||||||
char_attr = hl_combine_attr(line_attr_lowprio, char_attr);
|
char_attr = hl_combine_attr(line_attr_lowprio, char_attr);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
// Store character to be displayed.
|
||||||
* Store character to be displayed.
|
// Skip characters that are left of the screen for 'nowrap'.
|
||||||
* Skip characters that are left of the screen for 'nowrap'.
|
|
||||||
*/
|
|
||||||
vcol_prev = vcol;
|
vcol_prev = vcol;
|
||||||
if (draw_state < WL_LINE || n_skip <= 0) {
|
if (draw_state < WL_LINE || n_skip <= 0) {
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user