summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-03-12 16:27:00 +0000
committerBram Moolenaar <Bram@vim.org>2008-03-12 16:27:00 +0000
commit81a82093230a5afe14e8efacea3114da32099c6b (patch)
treea29e5e348192d7cc6621182e7ba8b34afeac5194 /src/edit.c
parent1b60e50bf215df9e066d085cf135e4414c551dcc (diff)
updated for version 7.1-276v7.1.276
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/edit.c b/src/edit.c
index 6a2f9518db..fb17eecc9e 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -5491,7 +5491,7 @@ insertchar(c, flags, second_indent)
#if defined(FEAT_EVAL)
int do_internal = TRUE;
- if (*curbuf->b_p_fex != NUL)
+ if (*curbuf->b_p_fex != NUL && (flags & INSCHAR_NO_FEX) == 0)
{
do_internal = (fex_format(curwin->w_cursor.lnum, 1L, c) != 0);
/* It may be required to save for undo again, e.g. when setline()
@@ -6057,7 +6057,7 @@ auto_format(trailblank, prev_line)
* be adjusted for the text formatting.
*/
saved_cursor = pos;
- format_lines((linenr_T)-1);
+ format_lines((linenr_T)-1, FALSE);
curwin->w_cursor = saved_cursor;
saved_cursor.lnum = 0;