Skip to content

Commit d05a3fe

Browse files
committed
---
yaml --- r: 153146 b: refs/heads/try2 c: c8b2a31 h: refs/heads/master v: v3
1 parent e4298ef commit d05a3fe

File tree

37 files changed

+1469
-1030
lines changed

37 files changed

+1469
-1030
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: 78a7676898d9f80ab540c6df5d4c9ce35bb50463
55
refs/heads/try: 519addf6277dbafccbb4159db4b710c37eaa2ec5
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: f37e202b53d208cd65f45fa96d2f2453b26bb9ee
8+
refs/heads/try2: c8b2a3167b068f7ea30eebcfa7ad13d4c7ea3026
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3038,7 +3038,7 @@ fn main() {
30383038
~~~{.ignore}
30393039
// `b/mod.rs`
30403040
pub mod c;
3041-
pub fn foo() { println!("Foo!"; }
3041+
pub fn foo() { println!("Foo!"); }
30423042
~~~
30433043

30443044
~~~{.ignore}

branches/try2/src/etc/vim/ftplugin/rust.vim

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@ setlocal formatoptions-=t formatoptions+=croqnl
3131
" j was only added in 7.3.541, so stop complaints about its nonexistence
3232
silent! setlocal formatoptions+=j
3333

34+
" smartindent will be overridden by indentexpr if filetype indent is on, but
35+
" otherwise it's better than nothing.
36+
setlocal smartindent nocindent
37+
38+
setlocal tabstop=4 shiftwidth=4 expandtab
39+
3440
" This includeexpr isn't perfect, but it's a good start
3541
setlocal includeexpr=substitute(v:fname,'::','/','g')
3642

0 commit comments

Comments
 (0)