mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 01:16:31 +00:00
refactor(options): rename empty_option
to empty_string_option
This commit is contained in:
@@ -789,10 +789,11 @@ EXTERN char *escape_chars INIT(= " \t\\\"|"); // need backslash in cmd line
|
||||
|
||||
EXTERN bool keep_help_flag INIT(= false); // doing :ta from help file
|
||||
|
||||
// When a string option is NULL (which only happens in out-of-memory
|
||||
// situations), it is set to empty_option, to avoid having to check for NULL
|
||||
// everywhere.
|
||||
EXTERN char *empty_option INIT(= "");
|
||||
// When a string option is NULL (which only happens in out-of-memory situations), it is set to
|
||||
// empty_string_option, to avoid having to check for NULL everywhere.
|
||||
//
|
||||
// TODO(famiu): Remove this when refcounted strings are used for string options.
|
||||
EXTERN char *empty_string_option INIT(= "");
|
||||
|
||||
EXTERN bool redir_off INIT(= false); // no redirection for a moment
|
||||
EXTERN FILE *redir_fd INIT(= NULL); // message redirection file
|
||||
|
Reference in New Issue
Block a user