aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/misc1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r--src/nvim/misc1.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c
index 415b4938cc..3a2795f530 100644
--- a/src/nvim/misc1.c
+++ b/src/nvim/misc1.c
@@ -328,8 +328,9 @@ open_line (
}
curwin->w_cursor = old_cursor;
}
- if (do_si)
- can_si = TRUE;
+ if (do_si) {
+ can_si = true;
+ }
did_ai = TRUE;
}
@@ -666,7 +667,7 @@ open_line (
}
}
- did_si = can_si = FALSE;
+ did_si = can_si = false;
} else if (comment_end != NULL) {
// We have finished a comment, so we don't use the leader.
// If this was a C-comment and 'ai' or 'si' is set do a normal