mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-02 00:16:25 +00:00
Switch the vimrc file from smartindent to cindent, which is
smarter about C-ish syntax, and supports the cinoptions variable. Set cinoptions to suppress the extra indentation for switch case labels. llvm-svn: 61617
This commit is contained in:
parent
e54262ccd2
commit
7aee4c1d99
@ -24,8 +24,9 @@ match WhitespaceEOL /\s\+$/
|
||||
|
||||
" Optional
|
||||
" C/C++ programming helpers
|
||||
set autoindent
|
||||
set smartindent
|
||||
set cindent
|
||||
" Don't indent switch case labels beyond the switch.
|
||||
set cinoptions=:0
|
||||
" Add and delete spaces in increments of `shiftwidth' for tabs
|
||||
set smarttab
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user