mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
refactor: saner options for uncrustify (#16204)
* sp_enum_after_assign = force * sp_brace_typedef = force * nl_do_brace = remove * sp_do_brace_open = force * sp_brace_close_while = force * sp_before_semi = remove * sp_before_semi_for = remove * sp_before_semi_for_empty = remove * sp_between_semi_for_empty = remove * sp_after_semi_for_empty = remove * sp_before_square = remove * sp_before_squares = remove * sp_inside_square = remove * sp_inside_fparens = remove * sp_inside_fparen = remove * sp_inside_tparen = remove * sp_after_tparen_close = remove * sp_return_paren = force * pos_bool = lead * sp_pp_concat = remove * sp_pp_stringify = remove * fixup: disable formatting for the INIT section
This commit is contained in:
@@ -922,7 +922,7 @@ static u_header_T *unserialize_uhp(bufinfo_T *bi, const char *file_name)
|
||||
uhp->uh_time = undo_read_time(bi);
|
||||
|
||||
// Unserialize optional fields.
|
||||
for (;; ) {
|
||||
for (;;) {
|
||||
int len = undo_read_byte(bi);
|
||||
|
||||
if (len == EOF) {
|
||||
@@ -1504,7 +1504,7 @@ void u_read_undo(char *name, const char_u *hash, const char_u *orig_name FUNC_AT
|
||||
|
||||
// Optional header fields.
|
||||
long last_save_nr = 0;
|
||||
for (;; ) {
|
||||
for (;;) {
|
||||
int len = undo_read_byte(&bi);
|
||||
|
||||
if (len == 0 || len == EOF) {
|
||||
|
Reference in New Issue
Block a user