diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/cake.vim | 8 | ||||
-rw-r--r-- | compiler/cargo.vim | 8 | ||||
-rw-r--r-- | compiler/coffee.vim | 8 | ||||
-rw-r--r-- | compiler/credo.vim | 8 | ||||
-rw-r--r-- | compiler/cryptol.vim | 8 | ||||
-rw-r--r-- | compiler/cucumber.vim | 8 | ||||
-rw-r--r-- | compiler/eruby.vim | 8 | ||||
-rw-r--r-- | compiler/eslint.vim | 8 | ||||
-rw-r--r-- | compiler/exunit.vim | 8 | ||||
-rw-r--r-- | compiler/fish.vim | 8 | ||||
-rw-r--r-- | compiler/go.vim | 8 | ||||
-rw-r--r-- | compiler/haml.vim | 8 | ||||
-rw-r--r-- | compiler/ls.vim | 8 | ||||
-rw-r--r-- | compiler/mix.vim | 8 | ||||
-rw-r--r-- | compiler/nim.vim | 8 | ||||
-rw-r--r-- | compiler/nix-build.vim | 8 | ||||
-rw-r--r-- | compiler/python.vim | 8 | ||||
-rw-r--r-- | compiler/rake.vim | 8 | ||||
-rw-r--r-- | compiler/rspec.vim | 8 | ||||
-rw-r--r-- | compiler/ruby.vim | 8 | ||||
-rw-r--r-- | compiler/rubyunit.vim | 8 | ||||
-rw-r--r-- | compiler/rustc.vim | 8 | ||||
-rw-r--r-- | compiler/sbt.vim | 8 | ||||
-rw-r--r-- | compiler/typescript.vim | 8 |
24 files changed, 96 insertions, 96 deletions
diff --git a/compiler/cake.vim b/compiler/cake.vim index 5ec449d4..159bd59e 100644 --- a/compiler/cake.vim +++ b/compiler/cake.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1 + finish +endif + " Language: CoffeeScript " Maintainer: Mick Koch <mick@kochm.co> " URL: http://github.com/kchmck/vim-coffee-script @@ -15,5 +17,3 @@ 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 f70ca90f..f616067b 100644 --- a/compiler/cargo.vim +++ b/compiler/cargo.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 + " Vim compiler file " Compiler: Cargo Compiler " Maintainer: Damien Radtke <damienradtke@gmail.com> @@ -49,5 +51,3 @@ unlet s:save_cpo " vint: +ProhibitAbbreviationOption " vim: set et sw=4 sts=4 ts=8: - -endif diff --git a/compiler/coffee.vim b/compiler/coffee.vim index 67f3db61..d68bf74d 100644 --- a/compiler/coffee.vim +++ b/compiler/coffee.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'coffee-script') != -1 + finish +endif + " Language: CoffeeScript " Maintainer: Mick Koch <mick@kochm.co> " URL: http://github.com/kchmck/vim-coffee-script @@ -82,5 +84,3 @@ augroup CoffeeUpdateMakePrg autocmd BufWritePre,BufFilePost call s:UpdateMakePrg() endif augroup END - -endif diff --git a/compiler/credo.vim b/compiler/credo.vim index e656a230..964050ec 100644 --- a/compiler/credo.vim +++ b/compiler/credo.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1 + finish +endif + if exists('current_compiler') finish endif @@ -11,5 +13,3 @@ endif CompilerSet errorformat=%f:%l:\ %t:\ %m CompilerSet makeprg=mix\ credo\ suggest\ --format=flycheck - -endif diff --git a/compiler/cryptol.vim b/compiler/cryptol.vim index 1b512365..2fe14ff4 100644 --- a/compiler/cryptol.vim +++ b/compiler/cryptol.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cryptol') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cryptol') != -1 + finish +endif + " Vim compiler file " Compiler: Cryptol version 1.8.19-academic Compiler " Maintainer: Edward O'Callaghan <victoredwardocallaghan AT gmail DOT com> @@ -20,5 +22,3 @@ CompilerSet errorformat& " use the default 'errorformat' " "%<" means the current file name without extension. CompilerSet makeprg=cryptol\ -o\ %<\ % - -endif diff --git a/compiler/cucumber.vim b/compiler/cucumber.vim index f0587227..54e34848 100644 --- a/compiler/cucumber.vim +++ b/compiler/cucumber.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'cucumber') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'cucumber') != -1 + finish +endif + " Vim compiler file " Compiler: Cucumber " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -29,5 +31,3 @@ 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 b3c102ec..04c0ffdc 100644 --- a/compiler/eruby.vim +++ b/compiler/eruby.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1 + finish +endif + " Vim compiler file " Language: eRuby " Maintainer: Doug Kearns <dougkearns@gmail.com> @@ -39,5 +41,3 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: nowrap sw=2 sts=2 ts=8: - -endif diff --git a/compiler/eslint.vim b/compiler/eslint.vim index 123d9d1e..0aeb3a4c 100644 --- a/compiler/eslint.vim +++ b/compiler/eslint.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'javascript') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'javascript') != -1 + finish +endif + " Vim compiler plugin " Language: JavaScript " Maintainer: vim-javascript community @@ -16,5 +18,3 @@ endif CompilerSet makeprg=eslint\ -f\ compact\ % CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ %m - -endif diff --git a/compiler/exunit.vim b/compiler/exunit.vim index e2d14185..207ab5da 100644 --- a/compiler/exunit.vim +++ b/compiler/exunit.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1 + finish +endif + if exists("current_compiler") finish endif @@ -25,5 +27,3 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: nowrap sw=2 sts=2 ts=8: - -endif diff --git a/compiler/fish.vim b/compiler/fish.vim index 11fad0c6..827ef3b4 100644 --- a/compiler/fish.vim +++ b/compiler/fish.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'fish') != -1 + finish +endif + if exists('current_compiler') finish endif @@ -7,5 +9,3 @@ let current_compiler = 'fish' CompilerSet makeprg=fish\ --no-execute\ % execute 'CompilerSet errorformat='.escape(fish#errorformat(), ' ') - -endif diff --git a/compiler/go.vim b/compiler/go.vim index 8fd68ff4..9564df22 100644 --- a/compiler/go.vim +++ b/compiler/go.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'go') != -1 + finish +endif + " Copyright 2013 The Go Authors. All rights reserved. " Use of this source code is governed by a BSD-style " license that can be found in the LICENSE file. @@ -49,5 +51,3 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim: sw=2 ts=2 et - -endif diff --git a/compiler/haml.vim b/compiler/haml.vim index eee5af43..084ca48a 100644 --- a/compiler/haml.vim +++ b/compiler/haml.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'haml') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'haml') != -1 + finish +endif + " Vim compiler file " Compiler: Haml " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -28,5 +30,3 @@ let &cpo = s:cpo_save unlet s:cpo_save " vim:set sw=2 sts=2: - -endif diff --git a/compiler/ls.vim b/compiler/ls.vim index df792917..b8bc8a6b 100644 --- a/compiler/ls.vim +++ b/compiler/ls.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'livescript') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'livescript') != -1 + finish +endif + " Language: LiveScript " Maintainer: George Zahariev " URL: http://github.com/gkz/vim-ls @@ -74,5 +76,3 @@ augroup LiveScriptUpdateMakePrg autocmd BufFilePost,BufWritePost call s:UpdateMakePrg() endif augroup END - -endif diff --git a/compiler/mix.vim b/compiler/mix.vim index ec88dd5c..fe01361f 100644 --- a/compiler/mix.vim +++ b/compiler/mix.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'elixir') != -1 + finish +endif + if exists('current_compiler') finish endif @@ -11,5 +13,3 @@ endif CompilerSet errorformat=%A%t%*[^:]:\ %m,%C%f:%l:\ %m,%C%f:%l,%Z CompilerSet makeprg=mix - -endif diff --git a/compiler/nim.vim b/compiler/nim.vim index edf1a5e9..51021694 100644 --- a/compiler/nim.vim +++ b/compiler/nim.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nim') != -1 + finish +endif + if exists("current_compiler") finish endif @@ -25,5 +27,3 @@ unlet s:cpo_save let g:syntastic_nim_checkers = ['nim'] - -endif diff --git a/compiler/nix-build.vim b/compiler/nix-build.vim index bd8791f7..7544ba1a 100644 --- a/compiler/nix-build.vim +++ b/compiler/nix-build.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nix') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'nix') != -1 + finish +endif + if exists('current_compiler') finish endif @@ -11,5 +13,3 @@ endif CompilerSet errorformat=error:\ %m\ at\ %f:%l:%c,builder\ for\ \'%m\'\ failed\ with\ exit\ code\ %n,fixed-output\ derivation\ produced\ path\ \'%s\'\ with\ %m CompilerSet makeprg=nix-build - -endif diff --git a/compiler/python.vim b/compiler/python.vim index 844c9785..cd68c684 100644 --- a/compiler/python.vim +++ b/compiler/python.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'python-compiler') != -1 + finish +endif + " Vim compiler file " Compiler: Unit testing tool for Python " Maintainer: Ali Aliev <ali@aliev.me> @@ -67,5 +69,3 @@ else endif " vim:foldmethod=marker:foldlevel=0 - -endif diff --git a/compiler/rake.vim b/compiler/rake.vim index fba50815..2d9d703f 100644 --- a/compiler/rake.vim +++ b/compiler/rake.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1 + finish +endif + " Vim compiler file " Language: Rake " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -39,5 +41,3 @@ 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 a8a10e19..f7102fda 100644 --- a/compiler/rspec.vim +++ b/compiler/rspec.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1 + finish +endif + " Vim compiler file " Language: RSpec " Maintainer: Tim Pope <vimNOSPAM@tpope.org> @@ -35,5 +37,3 @@ 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 c3cb12f9..ab537481 100644 --- a/compiler/ruby.vim +++ b/compiler/ruby.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1 + finish +endif + " Vim compiler file " Language: Ruby " Function: Syntax check and/or error reporting @@ -44,5 +46,3 @@ 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 9d1f27cc..b99c73bf 100644 --- a/compiler/rubyunit.vim +++ b/compiler/rubyunit.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'ruby') != -1 + finish +endif + " Vim compiler file " Language: Test::Unit - Ruby Unit Testing Framework " Maintainer: Doug Kearns <dougkearns@gmail.com> @@ -35,5 +37,3 @@ 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 bbb13189..8ef71b67 100644 --- a/compiler/rustc.vim +++ b/compiler/rustc.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 + " Vim compiler file " Compiler: Rust Compiler " Maintainer: Chris Morgan <me@chrismorgan.info> @@ -53,5 +55,3 @@ unlet s:save_cpo " vint: +ProhibitAbbreviationOption " vim: set et sw=4 sts=4 ts=8: - -endif diff --git a/compiler/sbt.vim b/compiler/sbt.vim index 521f5288..e5aa4d14 100644 --- a/compiler/sbt.vim +++ b/compiler/sbt.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'scala') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'scala') != -1 + finish +endif + " Vim compiler file " Language: Scala SBT (http://www.scala-sbt.org/) " Maintainer: Derek Wyatt @@ -30,5 +32,3 @@ 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 9ba313fe..10f6823e 100644 --- a/compiler/typescript.vim +++ b/compiler/typescript.vim @@ -1,5 +1,7 @@ -if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 - +if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'typescript') != -1 + finish +endif + if exists("current_compiler") finish endif @@ -30,5 +32,3 @@ CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m let &cpo = s:cpo_save unlet s:cpo_save - -endif |