mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
refactor: format header files with uncrustify #15877
* refactor: format header files with uncrustify * fixup(justin): skip formatting of terminfo_defs.h * fixup: force winsock2 to be included first * fixup: simplify disable/enable directive to "uncrustify:off/on"
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#ifndef NVIM_VIML_PARSER_EXPRESSIONS_H
|
||||
#define NVIM_VIML_PARSER_EXPRESSIONS_H
|
||||
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#include "nvim/eval/typval.h"
|
||||
#include "nvim/types.h"
|
||||
#include "nvim/viml/parser/parser.h"
|
||||
#include "nvim/eval/typval.h"
|
||||
|
||||
// Defines whether to ignore case:
|
||||
// == kCCStrategyUseOption
|
||||
@@ -80,7 +80,7 @@ typedef enum {
|
||||
} ExprAssignmentType;
|
||||
|
||||
#define EXPR_OPT_SCOPE_LIST \
|
||||
((char[]){ kExprOptScopeGlobal, kExprOptScopeLocal })
|
||||
((char[]){ kExprOptScopeGlobal, kExprOptScopeLocal })
|
||||
|
||||
/// All possible variable scopes
|
||||
typedef enum {
|
||||
@@ -96,11 +96,11 @@ typedef enum {
|
||||
} ExprVarScope;
|
||||
|
||||
#define EXPR_VAR_SCOPE_LIST \
|
||||
((char[]) { \
|
||||
kExprVarScopeScript, kExprVarScopeGlobal, kExprVarScopeVim, \
|
||||
kExprVarScopeBuffer, kExprVarScopeWindow, kExprVarScopeTabpage, \
|
||||
kExprVarScopeLocal, kExprVarScopeBuffer, kExprVarScopeArguments, \
|
||||
})
|
||||
((char[]) { \
|
||||
kExprVarScopeScript, kExprVarScopeGlobal, kExprVarScopeVim, \
|
||||
kExprVarScopeBuffer, kExprVarScopeWindow, kExprVarScopeTabpage, \
|
||||
kExprVarScopeLocal, kExprVarScopeBuffer, kExprVarScopeArguments, \
|
||||
})
|
||||
|
||||
/// Lexer token
|
||||
typedef struct {
|
||||
|
Reference in New Issue
Block a user