aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/quickfix.c
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2021-09-13 13:57:36 +0200
committerGitHub <noreply@github.com>2021-09-13 04:57:36 -0700
commitd5b66e88601b4d2fde5d905f9d12847126ba4449 (patch)
tree00c6438d206a6a7f1928e2f6d05e5e0c5a5d1a96 /src/nvim/quickfix.c
parentb9d57fa107a456596e68d2ee3853ba75142a6930 (diff)
downloadrneovim-d5b66e88601b4d2fde5d905f9d12847126ba4449.tar.gz
rneovim-d5b66e88601b4d2fde5d905f9d12847126ba4449.tar.bz2
rneovim-d5b66e88601b4d2fde5d905f9d12847126ba4449.zip
refactor: replace TRUE/FALSE with true/false #15647
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r--src/nvim/quickfix.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c
index 0cfb7c192f..e1ee5dc28f 100644
--- a/src/nvim/quickfix.c
+++ b/src/nvim/quickfix.c
@@ -5549,8 +5549,7 @@ void ex_vimgrep(exarg_T *eap)
// need to be done (again). But not the window-local
// options!
aucmd_prepbuf(&aco, buf);
- apply_autocmds(EVENT_FILETYPE, buf->b_p_ft,
- buf->b_fname, TRUE, buf);
+ apply_autocmds(EVENT_FILETYPE, buf->b_p_ft, buf->b_fname, true, buf);
do_modelines(OPT_NOWIN);
aucmd_restbuf(&aco);
}
@@ -5568,9 +5567,9 @@ void ex_vimgrep(exarg_T *eap)
qf_update_buffer(qi, NULL);
- if (au_name != NULL)
- apply_autocmds(EVENT_QUICKFIXCMDPOST, au_name,
- curbuf->b_fname, TRUE, curbuf);
+ if (au_name != NULL) {
+ apply_autocmds(EVENT_QUICKFIXCMDPOST, au_name, curbuf->b_fname, true, curbuf);
+ }
// The QuickFixCmdPost autocmd may free the quickfix list. Check the list
// is still valid.