Refactor/uncrustify (#15790)

* refactor: format with uncrustify

* fixup(dundar): fix functions comments

* fixup(dundar): remove space between variable and ++/--

* fixup(dundar): better workaround for macro attributes

This is done to be able to better use uncrustify rules for macros

* fixup(justin): make preprocessors follow neovim style guide
This commit is contained in:
dundargoc
2021-09-29 19:48:50 +02:00
committed by GitHub
parent ec4731d982
commit d90fb1c0bf
37 changed files with 2366 additions and 1940 deletions

View File

@@ -62,7 +62,7 @@
#define NOWIN (win_T *)-1 // non-existing window
# define ROWS_AVAIL (Rows - p_ch - tabline_height())
#define ROWS_AVAIL (Rows - p_ch - tabline_height())
/// flags for win_enter_ext()
typedef enum {
@@ -90,7 +90,7 @@ void do_window(int nchar, long Prenum, int xchar)
Prenum1 = Prenum == 0 ? 1 : Prenum;
# define CHECK_CMDWIN \
#define CHECK_CMDWIN \
do { \
if (cmdwin_type != 0) { \
EMSG(_(e_cmdwin)); \