mirror of
https://github.com/neovim/neovim.git
synced 2025-09-28 14:08:32 +00:00
refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)
This commit is contained in:
@@ -537,7 +537,6 @@ bool check_changed(buf_T *buf, int flags)
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
/// Ask the user what to do when abandoning a changed buffer.
|
||||
/// Must check 'write' option first!
|
||||
///
|
||||
@@ -625,7 +624,6 @@ bool can_abandon(buf_T *buf, int forceit)
|
||||
|| forceit;
|
||||
}
|
||||
|
||||
|
||||
/// Add a buffer number to "bufnrs", unless it's already there.
|
||||
static void add_bufnum(int *bufnrs, int *bufnump, int nr)
|
||||
{
|
||||
@@ -878,7 +876,6 @@ int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, bool wig)
|
||||
return i;
|
||||
}
|
||||
|
||||
|
||||
/// @param str
|
||||
/// @param what
|
||||
/// AL_SET: Redefine the argument list to 'str'.
|
||||
@@ -1637,7 +1634,6 @@ void ex_compiler(exarg_T *eap)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// ":options"
|
||||
void ex_options(exarg_T *eap)
|
||||
{
|
||||
@@ -2146,7 +2142,6 @@ theend:
|
||||
return retval;
|
||||
}
|
||||
|
||||
|
||||
/// Check if fname was sourced before to finds its SID.
|
||||
/// If it's new, generate a new SID.
|
||||
///
|
||||
@@ -2192,7 +2187,6 @@ scriptitem_T *get_current_script_id(char_u *fname, sctx_T *ret_sctx)
|
||||
return si;
|
||||
}
|
||||
|
||||
|
||||
/// ":scriptnames"
|
||||
void ex_scriptnames(exarg_T *eap)
|
||||
{
|
||||
@@ -2291,7 +2285,6 @@ linenr_T get_sourced_lnum(LineGetter fgetline, void *cookie)
|
||||
: sourcing_lnum;
|
||||
}
|
||||
|
||||
|
||||
/// Get one full line from a sourced file.
|
||||
/// Called by do_cmdline() when it's called from do_source().
|
||||
///
|
||||
@@ -2619,7 +2612,6 @@ void do_finish(exarg_T *eap, int reanimate)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// @return true when a sourced file had the ":finish" command: Don't give error
|
||||
/// message for missing ":endif".
|
||||
/// false when not sourcing a file.
|
||||
@@ -2721,7 +2713,6 @@ static char *get_mess_env(void)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
/// Set the "v:lang" variable according to the current locale setting.
|
||||
/// Also do "v:lc_time"and "v:ctype".
|
||||
void set_lang_var(void)
|
||||
@@ -2869,7 +2860,6 @@ void ex_language(exarg_T *eap)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
static char **locales = NULL; // Array of all available locales
|
||||
|
||||
# ifndef WIN32
|
||||
@@ -2971,7 +2961,6 @@ char *get_locales(expand_T *xp, int idx)
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
static void script_host_execute(char *name, exarg_T *eap)
|
||||
{
|
||||
size_t len;
|
||||
|
Reference in New Issue
Block a user