Fix loading for vim 8 packages, closes #613

This commit is contained in:
Adam Stankiewicz
2021-01-01 22:30:41 +01:00
parent f3b646fd6f
commit 05b8bbc938
1303 changed files with 4939 additions and 4911 deletions

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'tex') if polyglot#init#is_disabled(expand('<sfile>:p'), 'tex', 'after/compiler/tex.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'haskell') if polyglot#init#is_disabled(expand('<sfile>:p'), 'haskell', 'after/ftplugin/cabal.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'cjsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'cjsx', 'after/ftplugin/coffee.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'haskell') if polyglot#init#is_disabled(expand('<sfile>:p'), 'haskell', 'after/ftplugin/haskell.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/ftplugin/html.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'idris') if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris', 'after/ftplugin/idris.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'idris2') if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris2', 'after/ftplugin/idris2.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'javascript') if polyglot#init#is_disabled(expand('<sfile>:p'), 'javascript', 'after/ftplugin/javascript.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/ftplugin/javascript-2.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/ftplugin/javascriptreact.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/ftplugin/jsx.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'llvm') if polyglot#init#is_disabled(expand('<sfile>:p'), 'llvm', 'after/ftplugin/llvm.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'puppet') if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'after/ftplugin/puppet.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'tex') if polyglot#init#is_disabled(expand('<sfile>:p'), 'tex', 'after/ftplugin/tex.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/ftplugin/tsx.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/ftplugin/typescriptreact.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/indent/html.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/indent/javascript.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/indent/javascript-2.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/indent/javascriptreact.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/indent/jsx.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'objc') if polyglot#init#is_disabled(expand('<sfile>:p'), 'objc', 'after/indent/objc.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/indent/php.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'tex') if polyglot#init#is_disabled(expand('<sfile>:p'), 'tex', 'after/indent/tex.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/indent/tsx.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/indent/typescript.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/indent/typescriptreact.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'cpp-modern') if polyglot#init#is_disabled(expand('<sfile>:p'), 'cpp-modern', 'after/syntax/c.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'cjsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'cjsx', 'after/syntax/coffee.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'cpp-modern') if polyglot#init#is_disabled(expand('<sfile>:p'), 'cpp-modern', 'after/syntax/cpp.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'dhall') if polyglot#init#is_disabled(expand('<sfile>:p'), 'dhall', 'after/syntax/haskell.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'scala') if polyglot#init#is_disabled(expand('<sfile>:p'), 'scala', 'after/syntax/help.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html/aria.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html/electron.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/html/rdfa.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'idris') if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris', 'after/syntax/idris.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'idris2') if polyglot#init#is_disabled(expand('<sfile>:p'), 'idris2', 'after/syntax/idris2.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/javascript.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/javascript/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'after/syntax/javascript/html5.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'javascript-sql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'javascript-sql', 'after/syntax/javascript/sql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/javascriptreact.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/javascriptreact/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/jsx.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/jsx_pretty.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'llvm') if polyglot#init#is_disabled(expand('<sfile>:p'), 'llvm', 'after/syntax/llvm.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'mdx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'mdx', 'after/syntax/mdx.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'mathematica') if polyglot#init#is_disabled(expand('<sfile>:p'), 'mathematica', 'after/syntax/mma.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'objc') if polyglot#init#is_disabled(expand('<sfile>:p'), 'objc', 'after/syntax/objc.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/php/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'reason') if polyglot#init#is_disabled(expand('<sfile>:p'), 'reason', 'after/syntax/reason.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/reason/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'rspec') if polyglot#init#is_disabled(expand('<sfile>:p'), 'rspec', 'after/syntax/rspec.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'yard') if polyglot#init#is_disabled(expand('<sfile>:p'), 'yard', 'after/syntax/ruby.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'rust') if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'after/syntax/rust.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'tex') if polyglot#init#is_disabled(expand('<sfile>:p'), 'tex', 'after/syntax/tex.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/tsx.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/typescript/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'after/syntax/typescriptreact.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/typescriptreact/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'after/syntax/vue/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'zinit') if polyglot#init#is_disabled(expand('<sfile>:p'), 'zinit', 'after/syntax/zsh.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'julia') if polyglot#init#is_disabled(expand('<sfile>:p'), 'julia', 'autoload/LaTeXtoUnicode.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'rst') if polyglot#init#is_disabled(expand('<sfile>:p'), 'rst', 'autoload/RstFold.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'ada') if polyglot#init#is_disabled(expand('<sfile>:p'), 'ada', 'autoload/ada.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'rust') if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'autoload/cargo.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'rust') if polyglot#init#is_disabled(expand('<sfile>:p'), 'rust', 'autoload/cargo/quickfix.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'clojure') if polyglot#init#is_disabled(expand('<sfile>:p'), 'clojure', 'autoload/clojurecomplete.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'coffee-script') if polyglot#init#is_disabled(expand('<sfile>:p'), 'coffee-script', 'autoload/coffee.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'crystal') if polyglot#init#is_disabled(expand('<sfile>:p'), 'crystal', 'autoload/crystal/indent.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'crystal') if polyglot#init#is_disabled(expand('<sfile>:p'), 'crystal', 'autoload/crystal_lang.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'csv') if polyglot#init#is_disabled(expand('<sfile>:p'), 'csv', 'autoload/csv.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'dart') if polyglot#init#is_disabled(expand('<sfile>:p'), 'dart', 'autoload/dart.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'elixir') if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'autoload/db/adapter/ecto.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'crystal') if polyglot#init#is_disabled(expand('<sfile>:p'), 'crystal', 'autoload/ecrystal.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'elixir') if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'autoload/elixir/indent.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'elixir') if polyglot#init#is_disabled(expand('<sfile>:p'), 'elixir', 'autoload/elixir/util.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'fish') if polyglot#init#is_disabled(expand('<sfile>:p'), 'fish', 'autoload/fish.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'fsharp') if polyglot#init#is_disabled(expand('<sfile>:p'), 'fsharp', 'autoload/fsharp.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'gitignore') if polyglot#init#is_disabled(expand('<sfile>:p'), 'gitignore', 'autoload/fzf_gitignore.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'go') if polyglot#init#is_disabled(expand('<sfile>:p'), 'go', 'autoload/go/config.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'graphql') if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'autoload/graphql.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'html5') if polyglot#init#is_disabled(expand('<sfile>:p'), 'html5', 'autoload/htmlcomplete.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsonnet') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsonnet', 'autoload/jsonnet.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'autoload/jsx_pretty/comment.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'jsx') if polyglot#init#is_disabled(expand('<sfile>:p'), 'jsx', 'autoload/jsx_pretty/indent.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'julia') if polyglot#init#is_disabled(expand('<sfile>:p'), 'julia', 'autoload/julia.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'julia') if polyglot#init#is_disabled(expand('<sfile>:p'), 'julia', 'autoload/julia/doc.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'julia') if polyglot#init#is_disabled(expand('<sfile>:p'), 'julia', 'autoload/julia_blocks.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'julia') if polyglot#init#is_disabled(expand('<sfile>:p'), 'julia', 'autoload/julia_latex_symbols.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'ledger') if polyglot#init#is_disabled(expand('<sfile>:p'), 'ledger', 'autoload/ledger.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'nim') if polyglot#init#is_disabled(expand('<sfile>:p'), 'nim', 'autoload/nim.vim')
finish finish
endif endif

3630
autoload/polyglot/init.vim Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'pony') if polyglot#init#is_disabled(expand('<sfile>:p'), 'pony', 'autoload/pony.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'puppet') if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'autoload/puppet/align.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'puppet') if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'autoload/puppet/ctags.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'puppet') if polyglot#init#is_disabled(expand('<sfile>:p'), 'puppet', 'autoload/puppet/format.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'python-compiler') if polyglot#init#is_disabled(expand('<sfile>:p'), 'python-compiler', 'autoload/python/utils.vim')
finish finish
endif endif

View File

@@ -1,4 +1,4 @@
if has_key(g:polyglot_is_disabled, 'requirements') if polyglot#init#is_disabled(expand('<sfile>:p'), 'requirements', 'autoload/requirements.vim')
finish finish
endif endif

Some files were not shown because too many files have changed in this diff Show More