diff options
| author | bors <bors@rust-lang.org> | 2014-08-16 13:01:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-08-16 13:01:09 +0000 |
| commit | 78ec3904b443c818d9f83e837ca13e5f197db740 (patch) | |
| tree | 2f563f975453c5671a75c2da414ee2d7cd6695d1 /src/etc/vim/syntax | |
| parent | cf71f1c7b077c93b33360fd5af6442fff2e39876 (diff) | |
| parent | ab65869c9d67bdc9d7ca9e7c80bb9a4460f1029e (diff) | |
| download | rust-78ec3904b443c818d9f83e837ca13e5f197db740.tar.gz rust-78ec3904b443c818d9f83e837ca13e5f197db740.zip | |
auto merge of #16527 : kballard/rust/vim_fold, r=chris
We shouldn't be setting any settings in the syntax file. Better to put them in the ftplugin, where they won't be pulled in by :syn-include and can be cleaned up when changing the filetype.
Diffstat (limited to 'src/etc/vim/syntax')
| -rw-r--r-- | src/etc/vim/syntax/rust.vim | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/etc/vim/syntax/rust.vim b/src/etc/vim/syntax/rust.vim index d8330b84f31..544c938dd73 100644 --- a/src/etc/vim/syntax/rust.vim +++ b/src/etc/vim/syntax/rust.vim @@ -11,17 +11,6 @@ elseif exists("b:current_syntax") finish endif -" Fold settings {{{1 - -if has("folding") && exists('g:rust_fold') && g:rust_fold != 0 - setlocal foldmethod=syntax - if g:rust_fold == 2 - setlocal foldlevel< - else - setlocal foldlevel=99 - endif -endif - " Syntax definitions {{{1 " Basic keywords {{{2 syn keyword rustConditional match if else |
