From 7692dfeecbcdfb656cb3853907421a7f58f16c7a Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 6 Aug 2018 11:35:34 -0400 Subject: globals: can_si is bool --- src/nvim/misc1.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/nvim/misc1.c') 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 -- cgit