diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-11-01 20:25:45 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-11-01 20:25:45 +0000 |
commit | 6ae133b915ddf42578fd7bfb8a0dd392a2b43a7f (patch) | |
tree | b3ca230d795618a5fb3e67ade27753ac20fc0601 /src/edit.c | |
parent | e9da72e4827730f7bfb650d80384339cd62fb2a6 (diff) |
updated for version 7.0-158v7.0.158
Diffstat (limited to 'src/edit.c')
-rw-r--r-- | src/edit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c index e117bedf4f..dacbef574e 100644 --- a/src/edit.c +++ b/src/edit.c @@ -9204,6 +9204,10 @@ ins_eol(c) #ifdef FEAT_CINDENT can_cindent = TRUE; #endif +#ifdef FEAT_FOLDING + /* When inserting a line the cursor line must never be in a closed fold. */ + foldOpenCursor(); +#endif return (!i); } |