diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-06 11:35:34 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-06 11:49:59 -0400 |
commit | 7692dfeecbcdfb656cb3853907421a7f58f16c7a (patch) | |
tree | 148e425f8b88895b1b60f9f5478d23bc72542196 /src/nvim/misc1.c | |
parent | 5309ad29d4b6a59caca2d710e27245d18b16f888 (diff) | |
download | rneovim-7692dfeecbcdfb656cb3853907421a7f58f16c7a.tar.gz rneovim-7692dfeecbcdfb656cb3853907421a7f58f16c7a.tar.bz2 rneovim-7692dfeecbcdfb656cb3853907421a7f58f16c7a.zip |
globals: can_si is bool
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 7 |
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 |