mirror of
https://github.com/neovim/neovim.git
synced 2025-10-01 15:38:33 +00:00
lint
This commit is contained in:
@@ -869,10 +869,10 @@ EXTERN int mapped_ctrl_c INIT(= 0); // Modes where CTRL-C is mapped.
|
|||||||
|
|
||||||
EXTERN cmdmod_T cmdmod; /* Ex command modifiers */
|
EXTERN cmdmod_T cmdmod; /* Ex command modifiers */
|
||||||
|
|
||||||
EXTERN int msg_silent INIT(= 0); /* don't print messages */
|
EXTERN int msg_silent INIT(= 0); // don't print messages
|
||||||
EXTERN int emsg_silent INIT(= 0); /* don't print error messages */
|
EXTERN int emsg_silent INIT(= 0); // don't print error messages
|
||||||
EXTERN bool emsg_noredir INIT(= false); // don't redirect error messages
|
EXTERN bool emsg_noredir INIT(= false); // don't redirect error messages
|
||||||
EXTERN int cmd_silent INIT(= FALSE); /* don't echo the command line */
|
EXTERN int cmd_silent INIT(= false); // don't echo the command line
|
||||||
|
|
||||||
/* Values for swap_exists_action: what to do when swap file already exists */
|
/* Values for swap_exists_action: what to do when swap file already exists */
|
||||||
#define SEA_NONE 0 /* don't use dialog */
|
#define SEA_NONE 0 /* don't use dialog */
|
||||||
|
@@ -2510,8 +2510,7 @@ static void redir_write(char_u *str, int maxlen)
|
|||||||
int redirecting(void)
|
int redirecting(void)
|
||||||
{
|
{
|
||||||
return redir_fd != NULL || *p_vfile != NUL
|
return redir_fd != NULL || *p_vfile != NUL
|
||||||
|| redir_reg || redir_vname || capture_ga != NULL
|
|| redir_reg || redir_vname || capture_ga != NULL;
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user