mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
refactor: saner options for uncrustify #16196
* refactor: general good option changes sp_deref = remove sp_not = remove sp_inv = remove sp_inside_paren_cast = remove mod_remove_duplicate_include = true sp_after_semi = add sp_after_semi_for = force sp_sizeof_paren = remove nl_return_expr = remove nl_else_brace = remove nl_else_if = remove * refactor: mod_remove_extra_semicolon = true * refactor: nl_max = 3 * refactor: sp_bool = force * refactor: sp_compare = force * refactor: sp_inside_paren = remove * refactor: sp_paren_paren = remove * refactor: sp_inside_sparen = remove * refactor: sp_before_sparen = force * refactor: sp_sign = remove * refactor: sp_addr = remove * refactor: sp_member = remove * refactor: nl_struct_brace = remove * refactor: nl_before_if_closing_paren = remove * refactor: nl_fdef_brace = force * refactor: sp_paren_comma = force * refactor: mod_full_brace_do = add
This commit is contained in:
@@ -832,7 +832,6 @@ retry:
|
||||
}
|
||||
|
||||
|
||||
|
||||
#ifdef HAVE_ICONV
|
||||
// Try using iconv() if we can't convert internally.
|
||||
if (fio_flags == 0
|
||||
@@ -1519,7 +1518,6 @@ rewind_retry:
|
||||
try_mac = 1;
|
||||
try_unix = 1;
|
||||
for (; p >= ptr && *p != CAR; p--) {
|
||||
;
|
||||
}
|
||||
if (p >= ptr) {
|
||||
for (p = ptr; p < ptr + size; ++p) {
|
||||
@@ -3083,7 +3081,6 @@ nobackup:
|
||||
}
|
||||
|
||||
|
||||
|
||||
if (converted && wb_flags == 0) {
|
||||
#ifdef HAVE_ICONV
|
||||
// Use iconv() conversion when conversion is needed and it's not done
|
||||
@@ -4250,7 +4247,6 @@ static int get_fio_flags(const char_u *name)
|
||||
}
|
||||
|
||||
|
||||
|
||||
/*
|
||||
* Check for a Unicode BOM (Byte Order Mark) at the start of p[size].
|
||||
* "size" must be at least 2.
|
||||
@@ -5436,7 +5432,6 @@ char_u *vim_tempname(void)
|
||||
}
|
||||
|
||||
|
||||
|
||||
/// Tries matching a filename with a "pattern" ("prog" is NULL), or use the
|
||||
/// precompiled regprog "prog" ("pattern" is NULL). That avoids calling
|
||||
/// vim_regcomp() often.
|
||||
|
Reference in New Issue
Block a user