summary refs log tree commit diff
path: root/src/etc/vim/indent/rust.vim
AgeCommit message (Collapse)AuthorLines
2013-10-30Fix Vim indent for wrapped function arguments.Chris Morgan-2/+17
2013-07-11Fix Vim indentation for inline closures.Chris Morgan-1/+1
2013-07-11Fix comment indenting properly for Vim files.Chris Morgan-4/+14
Indentation now works correctly on subsequent lines of a multi-line comment, whether there are leaders (` * `) or not. (Formerly it was incorrectly doing a two-space indent if there was no leader.) By default, this no longer puts a ` * ` leader on `/*!` comments, as that appears to be the current convention in the Rust source code, but that can easily be re-enabled if desired: let g:rust_bang_comment_leader = 1
2013-07-10Do indentation properly in Vim.Chris Morgan-3/+129
The cases that this improves are clearly documented inside the committed file, so this commit message is comparatively brief.
2013-05-08Improved vim indent file for rustJames Miller-1/+4
2012-08-23vim - fix indent rules, hilight format strings, some keywordsBen Blum-3/+1
2012-02-19vim: fix indenting enums and macrosErick Tryzelaar-1/+2
Now vim indenting goes from: fn main() { enum t { a: int, b: int } #error("hello world"); } to: fn main() { enum t { a: int, b: int } #error("hello world"); }
2011-05-17Move vim syntax file, add indent file.Erick Tryzelaar-0/+9