summaryrefslogtreecommitdiffstats
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--compiler/cake.vim4
-rw-r--r--compiler/cargo.vim4
-rw-r--r--compiler/coffee.vim4
-rw-r--r--compiler/cucumber.vim4
-rw-r--r--compiler/eruby.vim4
-rw-r--r--compiler/exunit.vim4
-rw-r--r--compiler/haml.vim4
-rw-r--r--compiler/rake.vim4
-rw-r--r--compiler/rspec.vim4
-rw-r--r--compiler/ruby.vim4
-rw-r--r--compiler/rubyunit.vim4
-rw-r--r--compiler/rustc.vim4
-rw-r--r--compiler/sass.vim4
-rw-r--r--compiler/sbt.vim4
-rw-r--r--compiler/typescript.vim4
15 files changed, 60 insertions, 0 deletions
diff --git a/compiler/cake.vim b/compiler/cake.vim
index b49638e7..5ec449d4 100644
--- a/compiler/cake.vim
+++ b/compiler/cake.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
@@ -13,3 +15,5 @@ call coffee#CoffeeSetUpVariables()
exec 'CompilerSet makeprg=' . escape(g:coffee_cake . ' ' .
\ g:coffee_cake_options . ' $*', ' ')
call coffee#CoffeeSetUpErrorFormat()
+
+endif
diff --git a/compiler/cargo.vim b/compiler/cargo.vim
index ed487a30..fe627453 100644
--- a/compiler/cargo.vim
+++ b/compiler/cargo.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Vim compiler file
" Compiler: Cargo Compiler
" Maintainer: Damien Radtke <damienradtke@gmail.com>
@@ -63,3 +65,5 @@ if s:local_manifest != ''
call setqflist(qflist, 'r')
endfunction
endif
+
+endif
diff --git a/compiler/coffee.vim b/compiler/coffee.vim
index 5a914578..67f3db61 100644
--- a/compiler/coffee.vim
+++ b/compiler/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
@@ -80,3 +82,5 @@ augroup CoffeeUpdateMakePrg
autocmd BufWritePre,BufFilePost call s:UpdateMakePrg()
endif
augroup END
+
+endif
diff --git a/compiler/cucumber.vim b/compiler/cucumber.vim
index e30a089f..f0587227 100644
--- a/compiler/cucumber.vim
+++ b/compiler/cucumber.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1
+
" Vim compiler file
" Compiler: Cucumber
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -27,3 +29,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+
+endif
diff --git a/compiler/eruby.vim b/compiler/eruby.vim
index 45ad5eea..fd9a8e59 100644
--- a/compiler/eruby.vim
+++ b/compiler/eruby.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim compiler file
" Language: eRuby
" Maintainer: Doug Kearns <dougkearns@gmail.com>
@@ -37,3 +39,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+
+endif
diff --git a/compiler/exunit.vim b/compiler/exunit.vim
index 2c9fb299..dfb0ea3c 100644
--- a/compiler/exunit.vim
+++ b/compiler/exunit.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
+
" Vim compiler file
" Language: ExUnit
" Maintainer: Rein Henrichs <rein.henrichs@gmail.com>
@@ -22,3 +24,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+
+endif
diff --git a/compiler/haml.vim b/compiler/haml.vim
index cea77211..eee5af43 100644
--- a/compiler/haml.vim
+++ b/compiler/haml.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
+
" Vim compiler file
" Compiler: Haml
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -26,3 +28,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+
+endif
diff --git a/compiler/rake.vim b/compiler/rake.vim
index 8490f2a9..3b130f1d 100644
--- a/compiler/rake.vim
+++ b/compiler/rake.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim compiler file
" Language: Rake
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -37,3 +39,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+
+endif
diff --git a/compiler/rspec.vim b/compiler/rspec.vim
index 7c340bab..13a7a8fb 100644
--- a/compiler/rspec.vim
+++ b/compiler/rspec.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim compiler file
" Language: RSpec
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -31,3 +33,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+
+endif
diff --git a/compiler/ruby.vim b/compiler/ruby.vim
index dcf7a401..81721285 100644
--- a/compiler/ruby.vim
+++ b/compiler/ruby.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim compiler file
" Language: Ruby
" Function: Syntax check and/or error reporting
@@ -43,3 +45,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+
+endif
diff --git a/compiler/rubyunit.vim b/compiler/rubyunit.vim
index ed0639b5..9d1f27cc 100644
--- a/compiler/rubyunit.vim
+++ b/compiler/rubyunit.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
+
" Vim compiler file
" Language: Test::Unit - Ruby Unit Testing Framework
" Maintainer: Doug Kearns <dougkearns@gmail.com>
@@ -33,3 +35,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim: nowrap sw=2 sts=2 ts=8:
+
+endif
diff --git a/compiler/rustc.vim b/compiler/rustc.vim
index f9b854ed..e0aebba0 100644
--- a/compiler/rustc.vim
+++ b/compiler/rustc.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
+
" Vim compiler file
" Compiler: Rust Compiler
" Maintainer: Chris Morgan <me@chrismorgan.info>
@@ -31,3 +33,5 @@ CompilerSet errorformat=
let &cpo = s:cpo_save
unlet s:cpo_save
+
+endif
diff --git a/compiler/sass.vim b/compiler/sass.vim
index e7265df5..85994ce1 100644
--- a/compiler/sass.vim
+++ b/compiler/sass.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1
+
" Vim compiler file
" Compiler: Sass
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
@@ -28,3 +30,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2:
+
+endif
diff --git a/compiler/sbt.vim b/compiler/sbt.vim
index 4c621922..41504d79 100644
--- a/compiler/sbt.vim
+++ b/compiler/sbt.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1
+
" Vim compiler file
" Language: Scala SBT (http://www.scala-sbt.org/)
" Maintainer: Derek Wyatt
@@ -28,3 +30,5 @@ let &cpo = s:cpo_save
unlet s:cpo_save
" vim:set sw=2 sts=2 ts=8 et:
+
+endif
diff --git a/compiler/typescript.vim b/compiler/typescript.vim
index 7833e005..57e1437a 100644
--- a/compiler/typescript.vim
+++ b/compiler/typescript.vim
@@ -1,3 +1,5 @@
+if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1
+
if exists("current_compiler")
finish
endif
@@ -14,3 +16,5 @@ endif
let &l:makeprg = g:typescript_compiler_binary . ' ' . g:typescript_compiler_options . ' $* %'
CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m
+
+endif