diff options
| -rw-r--r-- | .clang-format | 6 | ||||
| -rw-r--r-- | .vimrc | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/.clang-format b/.clang-format index 908be42..7045a64 100644 --- a/.clang-format +++ b/.clang-format @@ -4,12 +4,14 @@ Language: Cpp Standard: Latest BasedOnStyle: LLVM -IndentWidth: 4 -ColumnLimit: 120 AccessModifierOffset: -4 AlignEscapedNewlines: DontAlign AlignTrailingComments: false +AllowShortFunctionsOnASingleLine: None +AlwaysBreakTemplateDeclarations: Yes BreakStringLiterals: false +ColumnLimit: 120 +IndentWidth: 4 KeepEmptyLinesAtTheStartOfBlocks: false MaxEmptyLinesToKeep: 1 PointerAlignment: Left @@ -941,7 +941,7 @@ function! s:smart_open(command) abort if &l:textwidth > 0 execute 'vertical resize' &l:textwidth endif - " Help tags are often rust-justfied, moving the cursor to BoL. + " Help tags are often right-justfied, moving the cursor to BoL. normal! 0 endif endfunction |
