aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.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/main.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/main.c')
-rw-r--r--src/nvim/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 7a2b9746e9..252aa81825 100644
--- a/src/nvim/main.c
+++ b/src/nvim/main.c
@@ -1443,7 +1443,7 @@ static void read_stdin(void)
// When getting the ATTENTION prompt here, use a dialog.
swap_exists_action = SEA_DIALOG;
no_wait_return = true;
- int save_msg_didany = msg_didany;
+ bool save_msg_didany = msg_didany;
set_buflisted(true);
// Create memfile and read from stdin.
(void)open_buffer(true, NULL, 0);
@@ -2000,10 +2000,10 @@ static void mainerr(const char *errstr, const char *str)
/// Prints version information for "nvim -v" or "nvim --version".
static void version(void)
{
- info_message = TRUE; // use mch_msg(), not mch_errmsg()
+ info_message = true; // use mch_msg(), not mch_errmsg()
list_version();
msg_putchar('\n');
- msg_didout = FALSE;
+ msg_didout = false;
}
/// Prints help message for "nvim -h" or "nvim --help".