aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index f1914a09dd..a70982150c 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -3415,7 +3415,7 @@ static int ins_compl_get_exp(pos_T *ini)
pos_T *pos;
char_u **matches;
int save_p_scs;
- int save_p_ws;
+ bool save_p_ws;
int save_p_ic;
int i;
int num_matches;
@@ -3613,9 +3613,9 @@ static int ins_compl_get_exp(pos_T *ini)
* wrapscan for curbuf to avoid missing matches -- Acevedo,Webb */
save_p_ws = p_ws;
if (ins_buf != curbuf)
- p_ws = FALSE;
+ p_ws = false;
else if (*e_cpt == '.')
- p_ws = TRUE;
+ p_ws = true;
for (;; ) {
int flags = 0;