mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
api: add API for themes
co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
This commit is contained in:
@@ -3601,7 +3601,7 @@ void check_scrollbind(linenr_T topline_diff, long leftcol_diff)
|
||||
scrolldown(-y, false);
|
||||
}
|
||||
|
||||
redraw_later(VALID);
|
||||
redraw_later(curwin, VALID);
|
||||
cursor_correct();
|
||||
curwin->w_redr_status = true;
|
||||
}
|
||||
@@ -4143,7 +4143,7 @@ void scroll_redraw(int up, long count)
|
||||
if (curwin->w_cursor.lnum != prev_lnum)
|
||||
coladvance(curwin->w_curswant);
|
||||
curwin->w_viewport_invalid = true;
|
||||
redraw_later(VALID);
|
||||
redraw_later(curwin, VALID);
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -4241,7 +4241,7 @@ dozet:
|
||||
FALLTHROUGH;
|
||||
|
||||
case 't': scroll_cursor_top(0, true);
|
||||
redraw_later(VALID);
|
||||
redraw_later(curwin, VALID);
|
||||
set_fraction(curwin);
|
||||
break;
|
||||
|
||||
@@ -4250,7 +4250,7 @@ dozet:
|
||||
FALLTHROUGH;
|
||||
|
||||
case 'z': scroll_cursor_halfway(true);
|
||||
redraw_later(VALID);
|
||||
redraw_later(curwin, VALID);
|
||||
set_fraction(curwin);
|
||||
break;
|
||||
|
||||
@@ -4271,7 +4271,7 @@ dozet:
|
||||
FALLTHROUGH;
|
||||
|
||||
case 'b': scroll_cursor_bot(0, true);
|
||||
redraw_later(VALID);
|
||||
redraw_later(curwin, VALID);
|
||||
set_fraction(curwin);
|
||||
break;
|
||||
|
||||
@@ -4318,7 +4318,7 @@ dozet:
|
||||
col = 0;
|
||||
if (curwin->w_leftcol != col) {
|
||||
curwin->w_leftcol = col;
|
||||
redraw_later(NOT_VALID);
|
||||
redraw_later(curwin, NOT_VALID);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -4337,7 +4337,7 @@ dozet:
|
||||
}
|
||||
if (curwin->w_leftcol != col) {
|
||||
curwin->w_leftcol = col;
|
||||
redraw_later(NOT_VALID);
|
||||
redraw_later(curwin, NOT_VALID);
|
||||
}
|
||||
}
|
||||
break;
|
||||
@@ -4690,7 +4690,7 @@ static void nv_clear(cmdarg_T *cap)
|
||||
FOR_ALL_WINDOWS_IN_TAB(wp, curtab) {
|
||||
wp->w_s->b_syn_slow = false;
|
||||
}
|
||||
redraw_later(CLEAR);
|
||||
redraw_later(curwin, CLEAR);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user