neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

.clang-format (1793B)


      1 BasedOnStyle:  Google
      2 Language: Cpp
      3 ColumnLimit: 100
      4 IndentWidth: 2
      5 TabWidth: 8
      6 UseTab: Never
      7 IndentCaseLabels: false
      8 BreakBeforeBraces: Custom
      9 AlignEscapedNewlinesLeft: false
     10 AllowShortFunctionsOnASingleLine: false
     11 AlignTrailingComments: true
     12 SpacesBeforeTrailingComments: 2
     13 PenaltyReturnTypeOnItsOwnLine: 200
     14 AllowAllParametersOfDeclarationOnNextLine: false
     15 AllowShortIfStatementsOnASingleLine: false
     16 AllowShortLoopsOnASingleLine: false
     17 BinPackParameters: true
     18 BreakBeforeBinaryOperators: true
     19 BreakBeforeTernaryOperators: true
     20 ContinuationIndentWidth: 2
     21 AlwaysBreakAfterDefinitionReturnType: None
     22 AlwaysBreakAfterReturnType: None
     23 AlwaysBreakBeforeMultilineStrings: No
     24 AlwaysBreakTemplateDeclarations: No
     25 AlignEscapedNewlines: DontAlign
     26 BinPackArguments: true
     27 BraceWrapping:
     28   AfterClass:      false
     29   AfterControlStatement: false
     30   AfterEnum:       false
     31   AfterFunction:   true
     32   AfterObjCDeclaration: false
     33   AfterStruct:     false
     34   AfterUnion:      false
     35   BeforeCatch:     false
     36   BeforeElse:      false
     37   IndentBraces:    false
     38 PointerAlignment: Right
     39 SortIncludes: true
     40 Cpp11BracedListStyle: false
     41 IncludeCategories:
     42   - Regex:           '<[/[:alnum:].]+>'
     43     Priority:        0
     44   - Regex:           '^"(nvim|vim)/'
     45     Priority:        1
     46     SortPriority:    1
     47     CaseSensitive:   false
     48 AlignConsecutiveMacros: AcrossEmptyLines
     49 IndentPPDirectives: AfterHash
     50 SpaceBeforeParens: ControlStatementsExceptControlMacros
     51 PPIndentWidth: 1
     52 ForEachMacros:
     53   - FOR_ALL_AUEVENTS
     54   - FOR_ALL_AUPATS_IN_EVENT
     55   - FOR_ALL_BUFFERS
     56   - FOR_ALL_BUFFERS_BACKWARDS
     57   - FOR_ALL_FRAMES
     58   - FOR_ALL_QFL_ITEMS
     59   - FOR_ALL_SIGNS_IN_BUF
     60   - FOR_ALL_TABS
     61   - FOR_ALL_TAB_WINDOWS
     62   - FOR_ALL_WINDOWS_IN_TAB
     63   - RBUFFER_EACH
     64   - RBUFFER_EACH_REVERSE
     65   - RBUFFER_UNTIL_EMPTY
     66   - RBUFFER_UNTIL_FULL
     67   - kl_iter