aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
authorDundar Göc <gocdundar@gmail.com>2021-07-26 22:17:23 +0200
committerDundar Göc <gocdundar@gmail.com>2021-07-30 12:29:32 +0200
commit94120d2fd5a9e1f340921283bb5f5db1824899c2 (patch)
tree65cbfbb3a174c8b24b991b2322828bf89aac3c24 /src/nvim/mark.c
parentc642f3ac27aa842e374334d11291fd5129ab6887 (diff)
downloadrneovim-94120d2fd5a9e1f340921283bb5f5db1824899c2.tar.gz
rneovim-94120d2fd5a9e1f340921283bb5f5db1824899c2.tar.bz2
rneovim-94120d2fd5a9e1f340921283bb5f5db1824899c2.zip
refactor: replace TRUE/FALSE with true/false
Diffstat (limited to 'src/nvim/mark.c')
-rw-r--r--src/nvim/mark.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/nvim/mark.c b/src/nvim/mark.c
index 9ce77fe928..0b14089550 100644
--- a/src/nvim/mark.c
+++ b/src/nvim/mark.c
@@ -346,10 +346,10 @@ pos_T *getmark_buf_fnum(buf_T *buf, int c, bool changefile, int *fnum)
} else if (c == '{' || c == '}') { // to previous/next paragraph
pos_T pos;
oparg_T oa;
- int slcb = listcmd_busy;
+ bool slcb = listcmd_busy;
pos = curwin->w_cursor;
- listcmd_busy = TRUE; /* avoid that '' is changed */
+ listcmd_busy = true; // avoid that '' is changed
if (findpar(&oa.inclusive,
c == '}' ? FORWARD : BACKWARD, 1L, NUL, FALSE)) {
pos_copy = curwin->w_cursor;
@@ -359,10 +359,10 @@ pos_T *getmark_buf_fnum(buf_T *buf, int c, bool changefile, int *fnum)
listcmd_busy = slcb;
} else if (c == '(' || c == ')') { /* to previous/next sentence */
pos_T pos;
- int slcb = listcmd_busy;
+ bool slcb = listcmd_busy;
pos = curwin->w_cursor;
- listcmd_busy = TRUE; /* avoid that '' is changed */
+ listcmd_busy = true; // avoid that '' is changed
if (findsent(c == ')' ? FORWARD : BACKWARD, 1L)) {
pos_copy = curwin->w_cursor;
posp = &pos_copy;