diff options
author | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-20 10:44:32 -0400 |
---|---|---|
committer | Jan Edmund Lazo <janedmundlazo@hotmail.com> | 2018-08-20 10:44:34 -0400 |
commit | 96035a8343eadd2aa09284b58ee8147070e8d571 (patch) | |
tree | cff5fe3589a5590494f0897d2406fd8e09af191d | |
parent | 7763c19a709f2a6127585c3fed8962c1a28b87a9 (diff) | |
download | rneovim-96035a8343eadd2aa09284b58ee8147070e8d571.tar.gz rneovim-96035a8343eadd2aa09284b58ee8147070e8d571.tar.bz2 rneovim-96035a8343eadd2aa09284b58ee8147070e8d571.zip |
search: "include" in current_tagblock() is bool
-rw-r--r-- | src/nvim/search.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/search.c b/src/nvim/search.c index 7a4b585a93..7be7dc2187 100644 --- a/src/nvim/search.c +++ b/src/nvim/search.c @@ -3305,7 +3305,7 @@ int current_tagblock( oparg_T *oap, long count_arg, - int include /* TRUE == include white space */ + bool include // true == include white space ) { long count = count_arg; @@ -3319,7 +3319,7 @@ current_tagblock( char_u *cp; int len; int r; - int do_include = include; + bool do_include = include; bool save_p_ws = p_ws; int retval = FAIL; int is_inclusive = true; @@ -3450,7 +3450,7 @@ again: if (VIsual_active && equalpos(start_pos, old_start) && equalpos(end_pos, old_end)) { - do_include = TRUE; + do_include = true; curwin->w_cursor = old_start; count = count_arg; goto again; |