Skip to content

Commit a887f7f

Browse files
committed
---
yaml --- r: 153470 b: refs/heads/try2 c: 9dc667d h: refs/heads/master v: v3
1 parent 5eb6023 commit a887f7f

File tree

3 files changed

+3
-28
lines changed

3 files changed

+3
-28
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: 94cfd1b4adb16b059e1b596c7f3f96af4fc7726b
8+
refs/heads/try2: 9dc667d472630c52a792f47e8ea67337ec23b224
99
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try2/src/etc/vim/doc/rust.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,6 @@ g:rustc_makeprg_no_percent~
3434
let g:rustc_makeprg_no_percent = 1
3535
<
3636

37-
*g:rust_colorcolumn*
38-
g:rust_colorcolumn~
39-
Set this option to use 'colorcolumn' to highlight the text width
40-
indicate the 100 column recommended hard limit on line lengths: >
41-
let g:rust_colorcolumn = 1
42-
<
4337
*g:rust_conceal*
4438
g:rust_conceal~
4539
Set this option to turn on the basic |conceal| support: >

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

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
" Description: Vim syntax file for Rust
33
" Maintainer: Chris Morgan <[email protected]>
44
" Maintainer: Kevin Ballard <[email protected]>
5-
" Last Change: July 06, 2014
5+
" Last Change: Jul 07, 2014
66

77
if exists("b:did_ftplugin")
88
finish
@@ -37,22 +37,7 @@ setlocal smartindent nocindent
3737

3838
setlocal tabstop=4 shiftwidth=4 softtabstop=4 expandtab
3939

40-
" Line lengths {{{2
41-
42-
" Rust style conventions for line lengths say you SHOULD not go over 80
43-
" columns and MUST not go over 100.
44-
" Without a good 'formatexpr' we can't automatically wrap code, but we can
45-
" still wrap comments just fine with 'textwidth'.
46-
setlocal textwidth=80
47-
48-
" We can also use 'colorcolumn' to highlight both the 80 and 100 limits. Not
49-
" everyone likes this so it's gated.
50-
if exists('g:rust_colorcolumn')
51-
setlocal colorcolumn=+1,101
52-
let b:rust_colorcolumn=1
53-
endif
54-
55-
" }}}2
40+
setlocal textwidth=99
5641

5742
" This includeexpr isn't perfect, but it's a good start
5843
setlocal includeexpr=substitute(v:fname,'::','/','g')
@@ -112,10 +97,6 @@ endif
11297
let b:undo_ftplugin = "
11398
\ setlocal formatoptions< comments< commentstring< includeexpr< suffixesadd<
11499
\|setlocal tabstop< shiftwidth< softtabstop< expandtab< textwidth<
115-
\|if exists('b:rust_colorcolumn')
116-
\|setlocal colorcolumn<
117-
\|unlet b:rust_colorcolumn
118-
\|endif
119100
\|if exists('b:rust_original_delimitMate_excluded_regions')
120101
\|let b:delimitMate_excluded_regions = b:rust_original_delimitMate_excluded_regions
121102
\|unlet b:rust_original_delimitMate_excluded_regions

0 commit comments

Comments
 (0)