diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-02-14 07:51:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-14 07:51:04 +0800 |
commit | a376d979bda103fa9998d05c3cc4ba56d3c3cece (patch) | |
tree | 2305d9e9fda19be568d52571e3350cb5295a2243 /src | |
parent | b2f7a3aaad72fa01dc1230f246c26d878f5a41a6 (diff) | |
download | rneovim-a376d979bda103fa9998d05c3cc4ba56d3c3cece.tar.gz rneovim-a376d979bda103fa9998d05c3cc4ba56d3c3cece.tar.bz2 rneovim-a376d979bda103fa9998d05c3cc4ba56d3c3cece.zip |
fix(extmarks): redraw line on adding/removing conceal (#27463)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/decoration.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/decoration.c b/src/nvim/decoration.c index e4828bcc31..792204bdbc 100644 --- a/src/nvim/decoration.c +++ b/src/nvim/decoration.c @@ -121,7 +121,8 @@ void decor_redraw(buf_T *buf, int row1, int row2, int col1, DecorInline decor) void decor_redraw_sh(buf_T *buf, int row1, int row2, DecorSignHighlight sh) { - if (sh.hl_id || (sh.url != NULL) || (sh.flags & (kSHIsSign|kSHSpellOn|kSHSpellOff))) { + if (sh.hl_id || (sh.url != NULL) + || (sh.flags & (kSHIsSign | kSHSpellOn | kSHSpellOff | kSHConceal))) { if (row2 >= row1) { redraw_buf_range_later(buf, row1 + 1, row2 + 1); } |