This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Diagnostics: | |
| ClangTidy: | |
| Add: | |
| [ | |
| boost-*, | |
| bugprone-*, | |
| clang-analyzer-*, | |
| cppcoreguidelines-*, | |
| modernize-*, | |
| openmp-*, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Disable compatibility with vi which can cause unexpected issues. | |
| set nocompatible | |
| " Enable type file detection. Vim will be able to try to detect the type of file in use. | |
| filetype on | |
| " Enable plugins and load plugin for the detected file type. | |
| filetype plugin on | |
| " Load an indent file for the detected file type. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # 语言: None, Cpp, Java, JavaScript, ObjC, Proto, TableGen, TextProto | |
| Language: Cpp | |
| BasedOnStyle: Google | |
| # 每行字符的限制,0表示没有限制 | |
| ColumnLimit: 120 | |
| # 访问说明符(public、private等)的偏移 | |
| AccessModifierOffset: -4 | |
| # 开括号(开圆括号、开尖括号、开方括号)后的对齐: Align, DontAlign, AlwaysBreak(总是在开括号后换行) | |
| AlignAfterOpenBracket: Align |
OlderNewer