Fix Vim indentation for inline closures.
This commit is contained in:
parent
1d08ceb043
commit
6e75f2de9c
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ endif
|
|||
let b:did_indent = 1
|
||||
|
||||
setlocal cindent
|
||||
setlocal cinoptions=L0,(0,Ws,JN
|
||||
setlocal cinoptions=L0,(0,Ws,JN,j1
|
||||
setlocal cinkeys=0{,0},!^F,o,O,0[,0]
|
||||
" Don't think cinwords will actually do anything at all... never mind
|
||||
setlocal cinwords=do,for,if,else,while,loop,impl,mod,unsafe,trait,struct,enum,fn,extern
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue