mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
Merge pull request #15206 from dundargoc/refactor/a-song-of-true-and-false/global-variables-2
refactor: replace TRUE/FALSE with true/false
This commit is contained in:
@@ -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".
|
||||
|
Reference in New Issue
Block a user