summaryrefslogtreecommitdiffstats
path: root/autoload/rust
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--autoload/rust.vim2
-rw-r--r--autoload/rust/debugging.vim2
-rw-r--r--autoload/rust/delimitmate.vim2
-rw-r--r--autoload/rust/tags.vim2
-rw-r--r--autoload/rustfmt.vim2
5 files changed, 10 insertions, 0 deletions
diff --git a/autoload/rust.vim b/autoload/rust.vim
index 1051c842..e8a675f3 100644
--- a/autoload/rust.vim
+++ b/autoload/rust.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Author: Kevin Ballard
" Description: Helper functions for Rust commands/mappings
" Last Modified: May 27, 2014
@@ -545,4 +546,5 @@ endfunction
" }}}1
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/rust/debugging.vim b/autoload/rust/debugging.vim
index 40a691c3..066e2451 100644
--- a/autoload/rust/debugging.vim
+++ b/autoload/rust/debugging.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" For debugging, inspired by https://github.com/w0rp/rust/blob/master/autoload/rust/debugging.vim
let s:global_variable_list = [
@@ -102,4 +103,5 @@ 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 8d88a8f4..6707adc5 100644
--- a/autoload/rust/delimitmate.vim
+++ b/autoload/rust/delimitmate.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
let s:delimitMate_extra_excluded_regions = ',rustLifetimeCandidate,rustGenericLifetimeCandidate'
" For this buffer, when delimitMate issues the `User delimitMate_map`
@@ -43,4 +44,5 @@ endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/rust/tags.vim b/autoload/rust/tags.vim
index d3a3e645..21faaabb 100644
--- a/autoload/rust/tags.vim
+++ b/autoload/rust/tags.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Tagbar support code, for the sake of not automatically overriding its
" configuration in case Universal Ctags is detected.
@@ -16,4 +17,5 @@ function! rust#tags#IsUCtags() abort
endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif
diff --git a/autoload/rustfmt.vim b/autoload/rustfmt.vim
index 4118eef4..151ac82d 100644
--- a/autoload/rustfmt.vim
+++ b/autoload/rustfmt.vim
@@ -1,4 +1,5 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Author: Stephen Sugden <stephen@stephensugden.com>
"
" Adapted from https://github.com/fatih/vim-go
@@ -261,4 +262,5 @@ endfunction
" vim: set et sw=4 sts=4 ts=8:
+
endif