aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/extmark.c
diff options
context:
space:
mode:
authorerw7 <erw7.github@gmail.com>2020-09-23 10:33:18 +0900
committererw7 <erw7.github@gmail.com>2020-10-02 11:41:30 +0900
commit620c8fdfe91a382982fafaa376acd722fe0df051 (patch)
treeb648771efa8f34039ff45361f6fe6f404bc126af /src/nvim/extmark.c
parent4f8d98e583beb4c1abd5d57b9898548396633030 (diff)
downloadrneovim-620c8fdfe91a382982fafaa376acd722fe0df051.tar.gz
rneovim-620c8fdfe91a382982fafaa376acd722fe0df051.tar.bz2
rneovim-620c8fdfe91a382982fafaa376acd722fe0df051.zip
extmark: fix decoration ploblems with extmark
54ce101 changed the way undo entries are created when adding decorations. This creates all sorts of problems.This change fixes the problem by reverting to the previous behavior.
Diffstat (limited to 'src/nvim/extmark.c')
-rw-r--r--src/nvim/extmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/extmark.c b/src/nvim/extmark.c
index 17141f12fd..0de396fd1f 100644
--- a/src/nvim/extmark.c
+++ b/src/nvim/extmark.c
@@ -783,7 +783,7 @@ void bufhl_add_hl_pos_offset(buf_T *buf,
}
(void)extmark_set(buf, (uint64_t)src_id, 0,
(int)lnum-1, hl_start, (int)lnum-1+end_off, hl_end,
- decor, kExtmarkUndo);
+ decor, kExtmarkNoUndo);
}
}