Skip to content

Commit 6a2c4f2

Browse files
committed
---
yaml --- r: 142550 b: refs/heads/try2 c: cf65870 h: refs/heads/master v: v3
1 parent 6e3a0c5 commit 6a2c4f2

File tree

2 files changed

+26
-1
lines changed

2 files changed

+26
-1
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: 3fa4cef876714db93ba64b8e1166f21775f99a29
8+
refs/heads/try2: cf65870962ebf6b9b115a8f38ca7a9acc4bbfc49
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
" Vim syntax file
2+
" Language: Rust
3+
" Maintainer: Chris Morgan <[email protected]>
4+
" Last Change: 2013 Jul 6
5+
6+
if exists("b:did_ftplugin")
7+
finish
8+
endif
9+
let b:did_ftplugin = 1
10+
11+
setlocal comments=s1:/*,mb:*,ex:*/,:///,://!,://
12+
setlocal commentstring=//%s
13+
setlocal formatoptions-=t formatoptions+=croqnlj
14+
15+
" This includeexpr isn't perfect, but it's a good start
16+
setlocal includeexpr=substitute(v:fname,'::','/','g')
17+
18+
" NOT adding .rc as it's being phased out (0.7)
19+
setlocal suffixesadd=.rs
20+
21+
if exists("g:ftplugin_rust_source_path")
22+
let &l:path=g:ftplugin_rust_source_path . ',' . &l:path
23+
endif
24+
25+
let b:undo_ftplugin = "setlocal formatoptions< comments< commentstring< includeexpr< suffixesadd<"

0 commit comments

Comments
 (0)