diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-25 20:33:44 +0100 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-10-25 20:33:44 +0100 |
commit | 45a7512dea0599efaf96e8a2cad3fac7be61cf5d (patch) | |
tree | be0f50b1fe89625021111ad0d34555ef141d4146 /compiler | |
parent | 81ada1101ecbb0bc6dbaeef42e997e62129b36cc (diff) | |
download | vim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.tar.gz vim-polyglot-45a7512dea0599efaf96e8a2cad3fac7be61cf5d.zip |
Preserve loading order of plugins, fixes #608
Diffstat (limited to '')
38 files changed, 38 insertions, 38 deletions
diff --git a/compiler/ant.vim b/compiler/ant.vim index 8d1b66fb..1f927dbc 100644 --- a/compiler/ant.vim +++ b/compiler/ant.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ant', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ant') finish endif diff --git a/compiler/bdf.vim b/compiler/bdf.vim index 097d6b00..79fb2663 100644 --- a/compiler/bdf.vim +++ b/compiler/bdf.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('bdf', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'bdf') finish endif diff --git a/compiler/cake.vim b/compiler/cake.vim index 993bf1cf..c053759a 100644 --- a/compiler/cake.vim +++ b/compiler/cake.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'coffee-script') finish endif diff --git a/compiler/cargo.vim b/compiler/cargo.vim index 92569939..4854e4d9 100644 --- a/compiler/cargo.vim +++ b/compiler/cargo.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rust', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rust') finish endif diff --git a/compiler/coffee.vim b/compiler/coffee.vim index c5dcce7f..e16c425d 100644 --- a/compiler/coffee.vim +++ b/compiler/coffee.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('coffee-script', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'coffee-script') finish endif diff --git a/compiler/credo.vim b/compiler/credo.vim index e39c6b7c..767452c7 100644 --- a/compiler/credo.vim +++ b/compiler/credo.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'elixir') finish endif diff --git a/compiler/cryptol.vim b/compiler/cryptol.vim index 062109ac..7454ad5d 100644 --- a/compiler/cryptol.vim +++ b/compiler/cryptol.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cryptol', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cryptol') finish endif diff --git a/compiler/cs.vim b/compiler/cs.vim index 195887cf..195f1437 100644 --- a/compiler/cs.vim +++ b/compiler/cs.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cs', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cs') finish endif diff --git a/compiler/cucumber.vim b/compiler/cucumber.vim index a41c0de4..b2aef45d 100644 --- a/compiler/cucumber.vim +++ b/compiler/cucumber.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('cucumber', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'cucumber') finish endif diff --git a/compiler/dot.vim b/compiler/dot.vim index 5002e5ff..f2d65967 100644 --- a/compiler/dot.vim +++ b/compiler/dot.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('dot', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'dot') finish endif diff --git a/compiler/eruby.vim b/compiler/eruby.vim index dd006baa..426a8212 100644 --- a/compiler/eruby.vim +++ b/compiler/eruby.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ruby') finish endif diff --git a/compiler/exunit.vim b/compiler/exunit.vim index 2a52eff8..7f9bf656 100644 --- a/compiler/exunit.vim +++ b/compiler/exunit.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'elixir') finish endif diff --git a/compiler/fish.vim b/compiler/fish.vim index 1ae935f8..8ab152a6 100644 --- a/compiler/fish.vim +++ b/compiler/fish.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('fish', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'fish') finish endif diff --git a/compiler/go.vim b/compiler/go.vim index fba6a94f..c01c9e52 100644 --- a/compiler/go.vim +++ b/compiler/go.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('go', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'go') finish endif diff --git a/compiler/gradle.vim b/compiler/gradle.vim index 7790daac..1f59118e 100644 --- a/compiler/gradle.vim +++ b/compiler/gradle.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('gradle', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'gradle') finish endif diff --git a/compiler/gradlew.vim b/compiler/gradlew.vim index 68f23d76..82fdbdd8 100644 --- a/compiler/gradlew.vim +++ b/compiler/gradlew.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('gradle', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'gradle') finish endif diff --git a/compiler/haml.vim b/compiler/haml.vim index 08a64bc5..b72ab353 100644 --- a/compiler/haml.vim +++ b/compiler/haml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('haml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'haml') finish endif diff --git a/compiler/ledger.vim b/compiler/ledger.vim index e0220582..49eb3750 100644 --- a/compiler/ledger.vim +++ b/compiler/ledger.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ledger', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ledger') finish endif diff --git a/compiler/lilypond.vim b/compiler/lilypond.vim index cbe15bbb..6e7dd94f 100644 --- a/compiler/lilypond.vim +++ b/compiler/lilypond.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('lilypond', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'lilypond') finish endif diff --git a/compiler/ls.vim b/compiler/ls.vim index 69c6977f..b937052c 100644 --- a/compiler/ls.vim +++ b/compiler/ls.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('livescript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'livescript') finish endif diff --git a/compiler/mix.vim b/compiler/mix.vim index e9e781c5..dfbf004b 100644 --- a/compiler/mix.vim +++ b/compiler/mix.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('elixir', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'elixir') finish endif diff --git a/compiler/nim.vim b/compiler/nim.vim index e7ed6936..51035070 100644 --- a/compiler/nim.vim +++ b/compiler/nim.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('nim', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'nim') finish endif diff --git a/compiler/nix-build.vim b/compiler/nix-build.vim index 89a2453b..aa8932c1 100644 --- a/compiler/nix-build.vim +++ b/compiler/nix-build.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('nix', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'nix') finish endif diff --git a/compiler/ocaml.vim b/compiler/ocaml.vim index 92582d67..00cc30f4 100644 --- a/compiler/ocaml.vim +++ b/compiler/ocaml.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ocaml', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ocaml') finish endif diff --git a/compiler/powershell.vim b/compiler/powershell.vim index e4d5d410..43682955 100644 --- a/compiler/powershell.vim +++ b/compiler/powershell.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('powershell', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'powershell') finish endif diff --git a/compiler/python.vim b/compiler/python.vim index 670ebdb4..29e9acb8 100644 --- a/compiler/python.vim +++ b/compiler/python.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('python-compiler', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'python-compiler') finish endif diff --git a/compiler/rake.vim b/compiler/rake.vim index f8c3186c..4843c55d 100644 --- a/compiler/rake.vim +++ b/compiler/rake.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ruby') finish endif diff --git a/compiler/rspec.vim b/compiler/rspec.vim index c443c735..541e2f62 100644 --- a/compiler/rspec.vim +++ b/compiler/rspec.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ruby') finish endif diff --git a/compiler/ruby.vim b/compiler/ruby.vim index 53dc0106..9ec9a226 100644 --- a/compiler/ruby.vim +++ b/compiler/ruby.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ruby') finish endif diff --git a/compiler/rubyunit.vim b/compiler/rubyunit.vim index eb6c3d8e..11c8276c 100644 --- a/compiler/rubyunit.vim +++ b/compiler/rubyunit.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('ruby', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'ruby') finish endif diff --git a/compiler/rustc.vim b/compiler/rustc.vim index 66827050..80091673 100644 --- a/compiler/rustc.vim +++ b/compiler/rustc.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('rust', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'rust') finish endif diff --git a/compiler/sass.vim b/compiler/sass.vim index 5a1ee532..852d3e09 100644 --- a/compiler/sass.vim +++ b/compiler/sass.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('sass', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'sass') finish endif diff --git a/compiler/sbt.vim b/compiler/sbt.vim index 15f81ff3..24fc2d09 100644 --- a/compiler/sbt.vim +++ b/compiler/sbt.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('scala', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'scala') finish endif diff --git a/compiler/swift.vim b/compiler/swift.vim index 39dbe99a..c89bfe5a 100644 --- a/compiler/swift.vim +++ b/compiler/swift.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('swift', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'swift') finish endif diff --git a/compiler/tcl.vim b/compiler/tcl.vim index c73d69d5..3cdf8249 100644 --- a/compiler/tcl.vim +++ b/compiler/tcl.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('tcl', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'tcl') finish endif diff --git a/compiler/tex.vim b/compiler/tex.vim index 7076d04a..497b5877 100644 --- a/compiler/tex.vim +++ b/compiler/tex.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('tex', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'tex') finish endif diff --git a/compiler/tidy.vim b/compiler/tidy.vim index 7f7f12af..0c635fb8 100644 --- a/compiler/tidy.vim +++ b/compiler/tidy.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('tidy', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'tidy') finish endif diff --git a/compiler/typescript.vim b/compiler/typescript.vim index d004226c..4910a95e 100644 --- a/compiler/typescript.vim +++ b/compiler/typescript.vim @@ -1,4 +1,4 @@ -if !polyglot#util#IsEnabled('typescript', expand('<sfile>:p')) +if !has_key(g:polyglot_is_disabled, 'typescript') finish endif |