Mirror of the Vim source from https://github.com/vim/vim
Revision | e6aed39f12648124b0b4e23c669cab6ceda2ea1e (tree) |
---|---|
Time | 2006-11-02 05:25:45 |
Author | vimboss |
Commiter | vimboss |
updated for version 7.0-158
@@ -9204,6 +9204,10 @@ | ||
9204 | 9204 | #ifdef FEAT_CINDENT |
9205 | 9205 | can_cindent = TRUE; |
9206 | 9206 | #endif |
9207 | +#ifdef FEAT_FOLDING | |
9208 | + /* When inserting a line the cursor line must never be in a closed fold. */ | |
9209 | + foldOpenCursor(); | |
9210 | +#endif | |
9207 | 9211 | |
9208 | 9212 | return (!i); |
9209 | 9213 | } |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 158, | |
671 | +/**/ | |
670 | 672 | 157, |
671 | 673 | /**/ |
672 | 674 | 156, |