summaryrefslogtreecommitdiffstats
path: root/autoload/rust.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/rust.vim')
-rw-r--r--autoload/rust.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/autoload/rust.vim b/autoload/rust.vim
index fe8e743e..e6f7b053 100644
--- a/autoload/rust.vim
+++ b/autoload/rust.vim
@@ -1,3 +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
@@ -223,3 +225,5 @@ endfunction
" }}}1
" vim: set noet sw=4 ts=4:
+
+endif