diff options
author | katherine <ageha@airen-no-jikken.icu> | 2019-07-11 04:57:14 -0700 |
---|---|---|
committer | katherine <ageha@airen-no-jikken.icu> | 2019-07-11 04:57:14 -0700 |
commit | 3a26f1a6f4ab064345f2327e6c40bb73de63a83b (patch) | |
tree | 313e801d294794ddd297060caa37009c1f8a37eb | |
parent | 40195ec4af1d1192ca6d1a9ef5aaacf002b87309 (diff) | |
download | dotfiles-3a26f1a6f4ab064345f2327e6c40bb73de63a83b.tar.gz |
use a new c indentation style
auto keeps switch and case on the same depth, indents if conditions only
once, pulls own-line closing prens to match the indentation they're
started from
-rw-r--r-- | .vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -379,6 +379,7 @@ fun! s:settings_c() setlocal shiftwidth=4 setlocal tabstop=4 setlocal softtabstop=4 + setlocal cinoptions=:0,(s,m1,U1 "mappings "note: these mappings are in weird reverse order to avoid opening folds nnoremap <buffer> -- O<Space>*/<Esc>hhi/*<Space> |