summaryrefslogtreecommitdiffstats
path: root/src/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/edit.c')
-rw-r--r--src/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/edit.c b/src/edit.c
index 3da3db67b7..5b06131f96 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -1295,7 +1295,7 @@ docomplete:
#endif
compl_busy = FALSE;
#ifdef FEAT_SMARTINDENT
- can_si = TRUE; // allow smartindenting
+ can_si = may_do_si(); // allow smartindenting
#endif
break;