summaryrefslogtreecommitdiff
path: root/src/syntax.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-01-11 20:27:45 +0000
committerBram Moolenaar <Bram@vim.org>2008-01-11 20:27:45 +0000
commit81993f4744fabced02e4967196a8925366e0d405 (patch)
tree13b215ce87b829526365f22563fa5de3ef4c5e8f /src/syntax.c
parent426e5c9521d2045584392bb56fe76f3a9e3dcf03 (diff)
downloadvim-git-81993f4744fabced02e4967196a8925366e0d405.tar.gz
updated for version 7.1-218v7.1.218
Diffstat (limited to 'src/syntax.c')
-rw-r--r--src/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax.c b/src/syntax.c
index f9fbb0129..e824682a5 100644
--- a/src/syntax.c
+++ b/src/syntax.c
@@ -2495,7 +2495,7 @@ check_state_ends()
if (current_state.ga_len == 0)
break;
- if (had_extend)
+ if (had_extend && keepend_level >= 0)
{
syn_update_ends(FALSE);
if (current_state.ga_len == 0)