Skip to content

Commit 0addefa

Browse files
author
James Miller
committed
Improved vim indent file for rust
1 parent 3a34e93 commit 0addefa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/etc/vim/indent/rust.vim

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ if exists("b:did_indent")
55
endif
66

77
let b:did_indent = 1
8-
setlocal smartindent
8+
9+
setlocal cindent
10+
setlocal cinoptions=L0,(0,Ws,JN
11+
setlocal cinkeys=0{,0},!^F,o,O

0 commit comments

Comments
 (0)