about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorChris Morgan <me@chrismorgan.info>2013-07-10 09:56:08 +1000
committerDaniel Micay <danielmicay@gmail.com>2013-07-11 14:38:24 -0400
commit1d08ceb0439e1d09cb2285578872df53ad7eeb8c (patch)
tree93395aa333cc1c68cccb04113182e885473c2c92 /src/rt/rust_kernel.cpp
parent00da76dfbe3aba8c1ec399ecfa0eae4b4ba6885e (diff)
downloadrust-1d08ceb0439e1d09cb2285578872df53ad7eeb8c.tar.gz
rust-1d08ceb0439e1d09cb2285578872df53ad7eeb8c.zip
Fix comment indenting properly for Vim files.
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
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions