From e2d71d11de9282521e931d832a92154acd341ef0 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Wed, 2 Jan 2019 23:18:31 +0100 Subject: remove check_visual_highlight() This check is meaningless, we assume the terminal supports reverse-mode. --- src/nvim/screen.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/nvim/screen.c') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 1e07bbb5e3..07695031d8 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -678,8 +678,7 @@ static void win_update(win_T *wp) static int recursive = FALSE; /* being called recursively */ int old_botline = wp->w_botline; long fold_count; - /* remember what happened to the previous line, to know if - * check_visual_highlight() can be used */ + // Remember what happened to the previous line. #define DID_NONE 1 /* didn't update a line */ #define DID_LINE 2 /* updated a normal line */ #define DID_FOLD 3 /* updated a folded line */ -- cgit