diff options
| author | Chris Morgan <me@chrismorgan.info> | 2013-07-12 16:18:48 +1000 |
|---|---|---|
| committer | Chris Morgan <me@chrismorgan.info> | 2013-07-12 16:18:48 +1000 |
| commit | 4f67ed535b4a89491bdfa6854104a23d8a98f5c4 (patch) | |
| tree | ecf35c9954e234483a54981bebf81ecacfc0892f /src/etc | |
| parent | 184fa42d33ab53cc37f7fc315105ae7de3c70c9a (diff) | |
| download | rust-4f67ed535b4a89491bdfa6854104a23d8a98f5c4.tar.gz rust-4f67ed535b4a89491bdfa6854104a23d8a98f5c4.zip | |
Fix problem with switching between Rust buffers.
This was also causing trouble if one didn't have delimitMate installed.
Diffstat (limited to 'src/etc')
| -rw-r--r-- | src/etc/vim/ftplugin/rust.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/vim/ftplugin/rust.vim b/src/etc/vim/ftplugin/rust.vim index 84738943cd7..bf02d7b1723 100644 --- a/src/etc/vim/ftplugin/rust.vim +++ b/src/etc/vim/ftplugin/rust.vim @@ -40,4 +40,4 @@ if exists("g:loaded_delimitMate") let b:delimitMate_excluded_regions = delimitMate#Get("excluded_regions") . ',rustLifetimeCandidate,rustGenericLifetimeCandidate' endif -let b:undo_ftplugin = "setlocal formatoptions< comments< commentstring< includeexpr< suffixesadd< | if exists('b:rust_original_delimitMate_excluded_regions') | let b:delimitMate_excluded_regions = b:rust_original_delimitMate_excluded_regions | unlet b:rust_original_delimitMate_excluded_regions | else | unlet b:delimitMate_excluded_regions | endif" +let b:undo_ftplugin = "setlocal formatoptions< comments< commentstring< includeexpr< suffixesadd< | if exists('b:rust_original_delimitMate_excluded_regions') | let b:delimitMate_excluded_regions = b:rust_original_delimitMate_excluded_regions | unlet b:rust_original_delimitMate_excluded_regions | elseif exists('b:delimitMate_excluded_regions') | unlet b:delimitMate_excluded_regions | endif" |
