From 3f7a2d785dcc8c3dad341669c83f29779987d9a4 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 15 Nov 2016 00:10:39 +0100 Subject: '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. --- src/nvim/terminal.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/nvim/terminal.c') diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c index 499716a7a8..bd7b9fc58f 100644 --- a/src/nvim/terminal.c +++ b/src/nvim/terminal.c @@ -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))) { -- cgit