mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 03:58:32 +00:00
'inccommand': Introduce CMDPREVIEW state.
Command "live preview" is fundamentally a non-recursive concept ("preview of a preview" is not useful). Maintaining this as a global is less awkward and closer to what we actually want to express, vs adorning exarg_T, CommandLineState, etc.
This commit is contained in:
@@ -955,7 +955,6 @@ static void invalidate_terminal(Terminal *term, int start_row, int end_row)
|
||||
|
||||
static void refresh_terminal(Terminal *term)
|
||||
{
|
||||
// TODO(SplinterOfChaos): Find the condition that makes term->buf invalid.
|
||||
buf_T *buf = handle_get_buffer(term->buf_handle);
|
||||
bool valid = true;
|
||||
if (!buf || !(valid = buf_valid(buf))) {
|
||||
|
Reference in New Issue
Block a user