From 6e75f2de9c40e4107069a68c2a7b0cc7dae2b078 Mon Sep 17 00:00:00 2001 From: Chris Morgan Date: Wed, 10 Jul 2013 15:58:32 +1000 Subject: [PATCH] Fix Vim indentation for inline closures. --- src/etc/vim/indent/rust.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/etc/vim/indent/rust.vim b/src/etc/vim/indent/rust.vim index 806f8519f0a..ae3ca403aed 100644 --- a/src/etc/vim/indent/rust.vim +++ b/src/etc/vim/indent/rust.vim @@ -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