mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-08 11:33:52 -05:00
Fix loading for vim 8 packages, closes #613
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ant')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ant', 'compiler/ant.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'bdf')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'bdf', 'compiler/bdf.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'coffee-script')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'coffee-script', 'compiler/cake.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'rust')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'compiler/cargo.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'coffee-script')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'coffee-script', 'compiler/coffee.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'elixir')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'compiler/credo.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'cryptol')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'cryptol', 'compiler/cryptol.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'cs')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'cs', 'compiler/cs.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'cucumber')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'cucumber', 'compiler/cucumber.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'dot')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'dot', 'compiler/dot.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ruby')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ruby', 'compiler/eruby.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'elixir')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'compiler/exunit.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'fish')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'fish', 'compiler/fish.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'gleam')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'gleam', 'compiler/gleam.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'go')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'go', 'compiler/go.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'gradle')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'gradle', 'compiler/gradle.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'gradle')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'gradle', 'compiler/gradlew.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'haml')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'haml', 'compiler/haml.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ledger')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ledger', 'compiler/ledger.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'lilypond')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'lilypond', 'compiler/lilypond.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'livescript')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'livescript', 'compiler/ls.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'elixir')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'compiler/mix.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'nim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'nim', 'compiler/nim.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'nix')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'nix', 'compiler/nix-build.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ocaml')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ocaml', 'compiler/ocaml.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'powershell')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'powershell', 'compiler/powershell.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'python-compiler')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'python-compiler', 'compiler/python.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ruby')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ruby', 'compiler/rake.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ruby')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ruby', 'compiler/rspec.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ruby')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ruby', 'compiler/ruby.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'ruby')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'ruby', 'compiler/rubyunit.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'rust')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'compiler/rustc.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'sass')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'sass', 'compiler/sass.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'scala')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'scala', 'compiler/sbt.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'swift')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'swift', 'compiler/swift.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'tcl')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'tcl', 'compiler/tcl.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'tidy')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'tidy', 'compiler/tidy.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if has_key(g:polyglot_is_disabled, 'typescript')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'compiler/typescript.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user