refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)

This commit is contained in:
dundargoc
2022-05-25 20:31:14 +02:00
committed by GitHub
parent 8c4e62351f
commit 9fec6dc9a2
145 changed files with 5 additions and 586 deletions

View File

@@ -10,7 +10,6 @@
#define SYS_OPTWIN_FILE "$VIMRUNTIME/optwin.vim"
#define RUNTIME_DIRNAME "runtime"
#include "auto/config.h"
#define HAVE_PATHDEF
@@ -37,7 +36,6 @@ enum { NUMBUFLEN = 65, };
// special attribute addition: Put message in history
#define MSG_HIST 0x1000
// Values for State
//
// The lower bits up to 0x80 are used to distinguish normal/visual/op_pending
@@ -74,7 +72,6 @@ enum { NUMBUFLEN = 65, };
#define MODE_CONFIRM 0x7000 // ":confirm" prompt
#define MODE_CMDPREVIEW 0x8000 // Showing 'inccommand' command "live" preview.
/// Directions.
typedef enum {
kDirectionNotSet = 0,
@@ -103,7 +100,6 @@ typedef enum {
#define VAR_TYPE_SPECIAL 7
#define VAR_TYPE_BLOB 10
// values for xp_context when doing command line completion
enum {
@@ -164,7 +160,6 @@ enum {
EXPAND_LUA,
};
// Minimal size for block 0 of a swap file.
// NOTE: This depends on size of struct block0! It's not done with a sizeof(),
// because struct block0 is defined in memline.c (Sorry).
@@ -173,7 +168,6 @@ enum {
#define MIN_SWAP_PAGE_SIZE 1048
#define MAX_SWAP_PAGE_SIZE 50000
// Boolean constants
#ifndef TRUE
@@ -186,7 +180,6 @@ enum {
#define STATUS_HEIGHT 1 // height of a status line under a window
#define QF_WINHEIGHT 10 // default height for quickfix window
// Buffer sizes
#ifndef CMDBUFFSIZE
@@ -199,7 +192,6 @@ enum {
enum { FOLD_TEXT_LEN = 51, }; //!< buffer size for get_foldtext()
// Maximum length of key sequence to be mapped.
// Must be able to hold an Amiga resize report.
@@ -283,7 +275,6 @@ enum { FOLD_TEXT_LEN = 51, }; //!< buffer size for get_foldtext()
(const char *)(y), \
(size_t)(n))
// Enums need a typecast to be used as array index (for Ultrix).
#define HL_ATTR(n) highlight_attr[(int)(n)]