aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-01-02 23:18:31 +0100
committerJustin M. Keyes <justinkz@gmail.com>2019-01-04 01:24:49 +0100
commite2d71d11de9282521e931d832a92154acd341ef0 (patch)
tree672edfe5715dc270432db5bd7c4c62c656269918 /src/nvim/screen.c
parent103e02191237ab697fa694c6905173daa7023865 (diff)
downloadrneovim-e2d71d11de9282521e931d832a92154acd341ef0.tar.gz
rneovim-e2d71d11de9282521e931d832a92154acd341ef0.tar.bz2
rneovim-e2d71d11de9282521e931d832a92154acd341ef0.zip
remove check_visual_highlight()
This check is meaningless, we assume the terminal supports reverse-mode.
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c3
1 files changed, 1 insertions, 2 deletions
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 */