aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mark.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-07-30 17:53:07 +0200
committerGitHub <noreply@github.com>2021-07-30 17:53:07 +0200
commit15698eb5a1991790476febbd3b9f9b392e74f6b9 (patch)
tree274a87886add670ba1339a655e38c5cbadf430b1 /src/nvim/mark.c
parent7b627ece8dfeb180b20c0be8a126d007521a4b66 (diff)
parent94120d2fd5a9e1f340921283bb5f5db1824899c2 (diff)
downloadrneovim-15698eb5a1991790476febbd3b9f9b392e74f6b9.tar.gz
rneovim-15698eb5a1991790476febbd3b9f9b392e74f6b9.tar.bz2
rneovim-15698eb5a1991790476febbd3b9f9b392e74f6b9.zip
Merge pull request #15206 from dundargoc/refactor/a-song-of-true-and-false/global-variables-2
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;