aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/textobject.c
diff options
context:
space:
mode:
authordundargoc <gocdundar@gmail.com>2023-12-16 22:14:28 +0100
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2023-12-19 11:43:21 +0100
commit7f6b775b45de5011ff1c44e63e57551566d80704 (patch)
tree54eab8482051d2d1a958fcf9f6c9bcbb02827717 /src/nvim/textobject.c
parent693aea0e9e1032aee85d56c1a3f33e0811dbdc18 (diff)
downloadrneovim-7f6b775b45de5011ff1c44e63e57551566d80704.tar.gz
rneovim-7f6b775b45de5011ff1c44e63e57551566d80704.tar.bz2
rneovim-7f6b775b45de5011ff1c44e63e57551566d80704.zip
refactor: use `bool` to represent boolean values
Diffstat (limited to 'src/nvim/textobject.c')
-rw-r--r--src/nvim/textobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/textobject.c b/src/nvim/textobject.c
index 6e61e9be61..3a7cc2a633 100644
--- a/src/nvim/textobject.c
+++ b/src/nvim/textobject.c
@@ -586,7 +586,7 @@ int current_word(oparg_T *oap, int count, bool include, bool bigword)
{
pos_T start_pos;
bool inclusive = true;
- int include_white = false;
+ bool include_white = false;
cls_bigword = bigword;
clearpos(&start_pos);
@@ -1079,7 +1079,7 @@ int current_tagblock(oparg_T *oap, int count_arg, bool include)
bool do_include = include;
bool save_p_ws = p_ws;
int retval = FAIL;
- int is_inclusive = true;
+ bool is_inclusive = true;
p_ws = false;