mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
screen.c: remove screen_char_attr
#3235
screen_char_attr is always 0, it was obviated by
3baba1e7bc
.
References #1889
This commit is contained in:
parent
54973477e7
commit
6cf2925f63
@ -162,11 +162,6 @@ static schar_T *current_ScreenLine;
|
||||
#endif
|
||||
#define SEARCH_HL_PRIORITY 0
|
||||
|
||||
//signs column
|
||||
|
||||
/* Ugly global: overrule attribute used by screen_char() */
|
||||
static int screen_char_attr = 0;
|
||||
|
||||
/*
|
||||
* Redraw the current window later, with update_screen(type).
|
||||
* Set must_redraw only if not already set to a higher value.
|
||||
@ -5718,9 +5713,6 @@ static void screen_char(unsigned off, int row, int col)
|
||||
/*
|
||||
* Stop highlighting first, so it's easier to move the cursor.
|
||||
*/
|
||||
if (screen_char_attr != 0)
|
||||
attr = screen_char_attr;
|
||||
else
|
||||
attr = ScreenAttrs[off];
|
||||
if (screen_attr != attr)
|
||||
screen_stop_highlight();
|
||||
|
Loading…
Reference in New Issue
Block a user