aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/decoration.h
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-03-07 12:02:20 +0000
committerLewis Russell <lewis6991@gmail.com>2022-03-08 22:08:57 +0000
commit2ab2af598eff1bea9a4aa5da51d6c202173d5ee7 (patch)
treeaab6f64065db848ded2aafd3255582ed73c28f3a /src/nvim/decoration.h
parentc3cc17f0e61d70436c601444298fceeafbfbacb3 (diff)
downloadrneovim-2ab2af598eff1bea9a4aa5da51d6c202173d5ee7.tar.gz
rneovim-2ab2af598eff1bea9a4aa5da51d6c202173d5ee7.tar.bz2
rneovim-2ab2af598eff1bea9a4aa5da51d6c202173d5ee7.zip
fix(extmarks): fix signs
Don't add sign extmarks to state->active. Instead when drawing signs, perform a full line scan for sign marks. This allows decor_redraw_line to be moved back inside the `!number_only` block in screen.c, which prevents decor scans when redrawing the number column when 'relativenumber' is set. Fixes: #17638
Diffstat (limited to 'src/nvim/decoration.h')
-rw-r--r--src/nvim/decoration.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/decoration.h b/src/nvim/decoration.h
index 7e6dbdf1a7..2277a0ef1c 100644
--- a/src/nvim/decoration.h
+++ b/src/nvim/decoration.h
@@ -80,7 +80,6 @@ typedef struct {
int col_until;
int current;
int eol_col;
- bool has_sign_decor;
} DecorState;
typedef struct {