diff options
| author | nsfisis <nsfisis@gmail.com> | 2020-11-24 20:32:39 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2020-11-24 20:32:39 +0900 |
| commit | 7faf38e5651554851520d29381b237323c4a32e9 (patch) | |
| tree | 9e37b811cf9fbaf8374eba236d316308fc1b728a | |
| parent | 58920da73489a5a4da37d4082aee4b762983c402 (diff) | |
| download | dotfiles-7faf38e5651554851520d29381b237323c4a32e9.tar.gz dotfiles-7faf38e5651554851520d29381b237323c4a32e9.tar.zst dotfiles-7faf38e5651554851520d29381b237323c4a32e9.zip | |
Update .clang-format: add some 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 |
