From 0addefa68a85974a0b3906e7a46376a98ad513cc Mon Sep 17 00:00:00 2001 From: James Miller Date: Mon, 6 May 2013 15:24:38 +1200 Subject: [PATCH] Improved vim indent file for rust --- src/etc/vim/indent/rust.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/etc/vim/indent/rust.vim b/src/etc/vim/indent/rust.vim index 43fd917fc97..8d973c9a870 100644 --- a/src/etc/vim/indent/rust.vim +++ b/src/etc/vim/indent/rust.vim @@ -5,4 +5,7 @@ if exists("b:did_indent") endif let b:did_indent = 1 -setlocal smartindent + +setlocal cindent +setlocal cinoptions=L0,(0,Ws,JN +setlocal cinkeys=0{,0},!^F,o,O