summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/clojurecomplete.vim4
-rw-r--r--autoload/coffee.vim4
-rw-r--r--autoload/css_color.vim4
-rw-r--r--autoload/htmlcomplete.vim4
-rw-r--r--autoload/rubycomplete.vim4
-rw-r--r--autoload/rust.vim4
-rw-r--r--autoload/xml/aria.vim4
-rw-r--r--autoload/xml/html5.vim4
8 files changed, 32 insertions, 0 deletions
diff --git a/autoload/clojurecomplete.vim b/autoload/clojurecomplete.vim
index 1bc70473..bec3ed24 100644
--- a/autoload/clojurecomplete.vim
+++ b/autoload/clojurecomplete.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
+
" Vim completion script
" Language: Clojure
" Maintainer: Sung Pae <self@sungpae.com>
@@ -20,3 +22,5 @@ function! clojurecomplete#Complete(findstart, base)
endfunction
" vim:sts=8:sw=8:ts=8:noet
+
+endif
diff --git a/autoload/coffee.vim b/autoload/coffee.vim
index 8d727951..ba5e7ff8 100644
--- a/autoload/coffee.vim
+++ b/autoload/coffee.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
+
" Language: CoffeeScript
" Maintainer: Mick Koch <mick@kochm.co>
" URL: http://github.com/kchmck/vim-coffee-script
@@ -52,3 +54,5 @@ function! coffee#CoffeeSetUpErrorFormat()
\%f:%l:%c:\ error:\ %m,
\%-G%.%#
endfunction
+
+endif
diff --git a/autoload/css_color.vim b/autoload/css_color.vim
index cc0f1f60..5334a423 100644
--- a/autoload/css_color.vim
+++ b/autoload/css_color.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'css-color') == -1
+
" Language: Colorful CSS Color Preview
" Author: Aristotle Pagaltzis <pagaltzis@gmx.de>
" Commit: $Format:%H$
@@ -570,3 +572,5 @@ function! css_color#init(type, keywords, groups)
syn keyword BGf5f5f5 WhiteSmoke contained containedin=@colorableGroup
syn keyword BG9acd32 YellowGreen contained containedin=@colorableGroup
endfunction
+
+endif
diff --git a/autoload/htmlcomplete.vim b/autoload/htmlcomplete.vim
index 68a80384..f58793a2 100644
--- a/autoload/htmlcomplete.vim
+++ b/autoload/htmlcomplete.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion script
" Language: HTML and XHTML
" Maintainer: Mikolaj Machowski ( mikmach AT wp DOT pl )
@@ -837,3 +839,5 @@ function! htmlcomplete#CheckDoctype() " {{{
endfunction
" }}}
" vim:set foldmethod=marker:
+
+endif
diff --git a/autoload/rubycomplete.vim b/autoload/rubycomplete.vim
index 440dfd42..9dd5d8c4 100644
--- a/autoload/rubycomplete.vim
+++ b/autoload/rubycomplete.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim completion script
" Language: Ruby
" Maintainer: Mark Guzman <segfault@hasno.info>
@@ -831,3 +833,5 @@ call s:DefRuby()
" vim:tw=78:sw=4:ts=8:et:fdm=marker:ft=vim:norl:
+
+endif
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
diff --git a/autoload/xml/aria.vim b/autoload/xml/aria.vim
index 6ff0e3f2..4f9b1d7a 100644
--- a/autoload/xml/aria.vim
+++ b/autoload/xml/aria.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion for WAI-ARIA data file
" Language: HTML + WAI-ARIA
" Maintainer: othree <othree@gmail.com>
@@ -230,3 +232,5 @@ let g:xmldata_aria = {
\ 'default_role': default_role,
\ 'vimariaattrinfo': aria_attributes_value
\ }
+
+endif
diff --git a/autoload/xml/html5.vim b/autoload/xml/html5.vim
index 0d9a6a2c..2fad3521 100644
--- a/autoload/xml/html5.vim
+++ b/autoload/xml/html5.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
+
" Vim completion for HTML5 data file
" Language: HTML5
" Maintainer: othree <othree@gmail.com>
@@ -823,3 +825,5 @@ let g:xmldata_html5 = {
\ 'wbr': ['/>', ''],
\ },
\ }
+
+endif