diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-10-04 23:03:27 +0900 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2016-10-19 02:22:55 +0200 |
commit | 9d4fcec7c6b65ef04fd4416b014e96f33b1f708a (patch) | |
tree | 066d21072bb9a3ce932fd74bffe294f042bf4b0d /src/nvim/normal.c | |
parent | 6a6f188d2ac457266c47732bf19ef8c60e79959b (diff) | |
download | rneovim-9d4fcec7c6b65ef04fd4416b014e96f33b1f708a.tar.gz rneovim-9d4fcec7c6b65ef04fd4416b014e96f33b1f708a.tar.bz2 rneovim-9d4fcec7c6b65ef04fd4416b014e96f33b1f708a.zip |
folds: Do not auto-update folds for some foldmethods. #5426
Diffstat (limited to 'src/nvim/normal.c')
-rw-r--r-- | src/nvim/normal.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/normal.c b/src/nvim/normal.c index 6dcbf50750..76e3829bee 100644 --- a/src/nvim/normal.c +++ b/src/nvim/normal.c @@ -5925,8 +5925,7 @@ static void nv_replace(cmdarg_T *cap) set_last_insert(cap->nchar); } - foldUpdateAll(curwin); - foldOpenCursor(); + foldUpdateAfterInsert(); } /* |