diff options
Diffstat (limited to 'autoload/rust')
| -rw-r--r-- | autoload/rust/debugging.vim | 8 | ||||
| -rw-r--r-- | autoload/rust/delimitmate.vim | 8 | 
2 files changed, 8 insertions, 8 deletions
| diff --git a/autoload/rust/debugging.vim b/autoload/rust/debugging.vim index ba91c3bd..caeef712 100644 --- a/autoload/rust/debugging.vim +++ b/autoload/rust/debugging.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1 -   +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1 +  finish +endif +  " For debugging, inspired by https://github.com/w0rp/rust/blob/master/autoload/rust/debugging.vim  let s:global_variable_list = [ @@ -101,5 +103,3 @@ function! rust#debugging#InfoToFile(filename) abort  endfunction  " vim: set et sw=4 sts=4 ts=8: - -endif diff --git a/autoload/rust/delimitmate.vim b/autoload/rust/delimitmate.vim index e99cc87d..5e599f6a 100644 --- a/autoload/rust/delimitmate.vim +++ b/autoload/rust/delimitmate.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1 -   +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'rust') != -1 +  finish +endif +  let s:delimitMate_extra_excluded_regions = ',rustLifetimeCandidate,rustGenericLifetimeCandidate'  " For this buffer, when delimitMate issues the `User delimitMate_map` @@ -44,5 +46,3 @@ endfunction  " vim: set et sw=4 sts=4 ts=8: - -endif | 
