diff options
author | dundargoc <33953936+dundargoc@users.noreply.github.com> | 2021-11-19 20:21:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 14:21:53 -0500 |
commit | 725cbe7d414f609e769081276f2a034e32a4337b (patch) | |
tree | da4a7175d450e582fab94480b59ea54454cb0078 /src/nvim/quickfix.c | |
parent | 9ec4417afc072533ed2c6924323e9d885c52f6fe (diff) | |
download | rneovim-725cbe7d414f609e769081276f2a034e32a4337b.tar.gz rneovim-725cbe7d414f609e769081276f2a034e32a4337b.tar.bz2 rneovim-725cbe7d414f609e769081276f2a034e32a4337b.zip |
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
Diffstat (limited to 'src/nvim/quickfix.c')
-rw-r--r-- | src/nvim/quickfix.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/quickfix.c b/src/nvim/quickfix.c index bf9052de6f..6a192d148f 100644 --- a/src/nvim/quickfix.c +++ b/src/nvim/quickfix.c @@ -539,7 +539,7 @@ static size_t efm_regpat_bufsz(char_u *efm) size_t sz; sz = (FMT_PATTERNS * 3) + (STRLEN(efm) << 2); - for (int i = FMT_PATTERNS - 1; i >= 0; ) { + for (int i = FMT_PATTERNS - 1; i >= 0;) { sz += STRLEN(fmt_pat[i--].pattern); } #ifdef BACKSLASH_IN_FILENAME @@ -2028,7 +2028,7 @@ void copy_loclist_stack(win_T *from, win_T *to) /// Get buffer number for file "directory/fname". /// Also sets the b_has_qf_entry flag. -static int qf_get_fnum(qf_list_T *qfl, char_u *directory, char_u *fname ) +static int qf_get_fnum(qf_list_T *qfl, char_u *directory, char_u *fname) { char_u *ptr = NULL; char_u *bufname; @@ -4380,7 +4380,7 @@ static char_u *get_mef_name(void) } // Keep trying until the name doesn't exist yet. - for (;; ) { + for (;;) { if (start == -1) { start = (int)os_get_pid(); } else { |