summaryrefslogtreecommitdiffstats
path: root/autoload
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-10-24 18:52:18 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-10-24 18:52:18 +0200
commit8e61708b4527072aa9250deb2c4cf7a56e3f3b0a (patch)
tree73e3bf7897429cee96eb36f7f291d50fbbe11ca9 /autoload
parent3c148e9ef5a303a599320eb64e608392db82eeb0 (diff)
downloadvim-polyglot-8e61708b4527072aa9250deb2c4cf7a56e3f3b0a.tar.gz
vim-polyglot-8e61708b4527072aa9250deb2c4cf7a56e3f3b0a.zip
Use vim-polyglot only as fallback to other plugins, fixes #580
Diffstat (limited to 'autoload')
-rw-r--r--autoload/LaTeXtoUnicode.vim5
-rw-r--r--autoload/RstFold.vim5
-rw-r--r--autoload/ada.vim5
-rw-r--r--autoload/cargo.vim5
-rw-r--r--autoload/cargo/quickfix.vim5
-rw-r--r--autoload/clojurecomplete.vim5
-rw-r--r--autoload/coffee.vim5
-rw-r--r--autoload/crystal/indent.vim5
-rw-r--r--autoload/crystal_lang.vim5
-rw-r--r--autoload/csv.vim5
-rw-r--r--autoload/dart.vim5
-rw-r--r--autoload/db/adapter/ecto.vim5
-rw-r--r--autoload/ecrystal.vim5
-rw-r--r--autoload/elixir/indent.vim5
-rw-r--r--autoload/elixir/util.vim5
-rw-r--r--autoload/fish.vim5
-rw-r--r--autoload/fsharp.vim5
-rw-r--r--autoload/fzf_gitignore.vim5
-rw-r--r--autoload/go/config.vim5
-rw-r--r--autoload/graphql.vim5
-rw-r--r--autoload/htmlcomplete.vim5
-rw-r--r--autoload/jsonnet.vim5
-rw-r--r--autoload/jsx_pretty/comment.vim5
-rw-r--r--autoload/jsx_pretty/indent.vim5
-rw-r--r--autoload/julia.vim5
-rw-r--r--autoload/julia/doc.vim5
-rw-r--r--autoload/julia_blocks.vim5
-rw-r--r--autoload/julia_latex_symbols.vim5
-rw-r--r--autoload/ledger.vim5
-rw-r--r--autoload/nim.vim5
-rw-r--r--autoload/pony.vim5
-rw-r--r--autoload/puppet/align.vim5
-rw-r--r--autoload/puppet/ctags.vim5
-rw-r--r--autoload/puppet/format.vim5
-rw-r--r--autoload/python/utils.vim5
-rw-r--r--autoload/requirements.vim5
-rw-r--r--autoload/rubycomplete.vim5
-rw-r--r--autoload/rust.vim5
-rw-r--r--autoload/rust/debugging.vim5
-rw-r--r--autoload/rust/delimitmate.vim5
-rw-r--r--autoload/rust/tags.vim5
-rw-r--r--autoload/rustfmt.vim5
-rw-r--r--autoload/smt2.vim5
-rw-r--r--autoload/terraform.vim5
-rw-r--r--autoload/vital/_crystal.vim5
-rw-r--r--autoload/vital/_crystal/ColorEcho.vim5
-rw-r--r--autoload/vital/_crystal/Data/List.vim5
-rw-r--r--autoload/vital/_crystal/Data/String.vim5
-rw-r--r--autoload/vital/_crystal/Process.vim5
-rw-r--r--autoload/vital/_crystal/Web/JSON.vim5
-rw-r--r--autoload/vital/crystal.vim5
-rw-r--r--autoload/xml/aria.vim5
-rw-r--r--autoload/xml/html5.vim5
-rw-r--r--autoload/xml/xsd.vim5
-rw-r--r--autoload/zig/config.vim5
-rw-r--r--autoload/zig/fmt.vim5
-rw-r--r--autoload/zig/list.vim5
-rw-r--r--autoload/zig/util.vim5
58 files changed, 290 insertions, 0 deletions
diff --git a/autoload/LaTeXtoUnicode.vim b/autoload/LaTeXtoUnicode.vim
index 8e6714dc..132437ed 100644
--- a/autoload/LaTeXtoUnicode.vim
+++ b/autoload/LaTeXtoUnicode.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/LaTeXtoUnicode.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
diff --git a/autoload/RstFold.vim b/autoload/RstFold.vim
index 30d00874..dc1044f7 100644
--- a/autoload/RstFold.vim
+++ b/autoload/RstFold.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/RstFold.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rst') == -1
" Author: Antony Lee <anntzer.lee@gmail.com>
diff --git a/autoload/ada.vim b/autoload/ada.vim
index efe5e717..e01b83ae 100644
--- a/autoload/ada.vim
+++ b/autoload/ada.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/ada.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ada') == -1
"------------------------------------------------------------------------------
diff --git a/autoload/cargo.vim b/autoload/cargo.vim
index bd453ac7..a8b35e73 100644
--- a/autoload/cargo.vim
+++ b/autoload/cargo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/cargo.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
function! cargo#Load()
diff --git a/autoload/cargo/quickfix.vim b/autoload/cargo/quickfix.vim
index cce7fcbb..630928f5 100644
--- a/autoload/cargo/quickfix.vim
+++ b/autoload/cargo/quickfix.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/cargo/quickfix.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
function! cargo#quickfix#CmdPre() abort
diff --git a/autoload/clojurecomplete.vim b/autoload/clojurecomplete.vim
index 9128b3d1..70c1d4ce 100644
--- a/autoload/clojurecomplete.vim
+++ b/autoload/clojurecomplete.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/clojurecomplete.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'clojure') == -1
" Vim completion script
diff --git a/autoload/coffee.vim b/autoload/coffee.vim
index 76eab3b0..c3376640 100644
--- a/autoload/coffee.vim
+++ b/autoload/coffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/coffee.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'coffee-script') == -1
" Language: CoffeeScript
diff --git a/autoload/crystal/indent.vim b/autoload/crystal/indent.vim
index ffd780e0..d50c6e29 100644
--- a/autoload/crystal/indent.vim
+++ b/autoload/crystal/indent.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/crystal/indent.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" Variables {{{1
diff --git a/autoload/crystal_lang.vim b/autoload/crystal_lang.vim
index b0e63ea2..3b10ecbd 100644
--- a/autoload/crystal_lang.vim
+++ b/autoload/crystal_lang.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/crystal_lang.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
let s:V = vital#crystal#new()
diff --git a/autoload/csv.vim b/autoload/csv.vim
index b97428c3..a5116306 100644
--- a/autoload/csv.vim
+++ b/autoload/csv.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/csv.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'csv') == -1
" Filetype plugin for editing CSV files. "{{{1
diff --git a/autoload/dart.vim b/autoload/dart.vim
index 52d76c02..bbb1de21 100644
--- a/autoload/dart.vim
+++ b/autoload/dart.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/dart.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'dart') == -1
diff --git a/autoload/db/adapter/ecto.vim b/autoload/db/adapter/ecto.vim
index 4012f04a..f97301e9 100644
--- a/autoload/db/adapter/ecto.vim
+++ b/autoload/db/adapter/ecto.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/db/adapter/ecto.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
let s:path = expand('<sfile>:h')
diff --git a/autoload/ecrystal.vim b/autoload/ecrystal.vim
index 20f3151f..658d5bd8 100644
--- a/autoload/ecrystal.vim
+++ b/autoload/ecrystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/ecrystal.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
let s:ecrystal_extensions = {
diff --git a/autoload/elixir/indent.vim b/autoload/elixir/indent.vim
index 741ec094..61015846 100644
--- a/autoload/elixir/indent.vim
+++ b/autoload/elixir/indent.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/elixir/indent.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
if !exists("g:elixir_indent_max_lookbehind")
diff --git a/autoload/elixir/util.vim b/autoload/elixir/util.vim
index 04cb8375..de7972de 100644
--- a/autoload/elixir/util.vim
+++ b/autoload/elixir/util.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/elixir/util.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'elixir') == -1
function! elixir#util#get_filename(word) abort
diff --git a/autoload/fish.vim b/autoload/fish.vim
index 6d8af013..2cc6fcfb 100644
--- a/autoload/fish.vim
+++ b/autoload/fish.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/fish.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fish') == -1
function! fish#Indent()
diff --git a/autoload/fsharp.vim b/autoload/fsharp.vim
index 90313231..a7abc1d7 100644
--- a/autoload/fsharp.vim
+++ b/autoload/fsharp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/fsharp.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'fsharp') == -1
" Vim autoload functions
diff --git a/autoload/fzf_gitignore.vim b/autoload/fzf_gitignore.vim
index 7548130c..a482c030 100644
--- a/autoload/fzf_gitignore.vim
+++ b/autoload/fzf_gitignore.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/fzf_gitignore.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'gitignore') == -1
scriptencoding utf-8
diff --git a/autoload/go/config.vim b/autoload/go/config.vim
index 2265608b..c58b983a 100644
--- a/autoload/go/config.vim
+++ b/autoload/go/config.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/go/config.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'go') == -1
" don't spam the user when Vim is started in Vi compatibility mode
diff --git a/autoload/graphql.vim b/autoload/graphql.vim
index 5a0a8c54..49c63437 100644
--- a/autoload/graphql.vim
+++ b/autoload/graphql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/graphql.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'graphql') == -1
" Copyright (c) 2016-2020 Jon Parise <jon@indelible.org>
diff --git a/autoload/htmlcomplete.vim b/autoload/htmlcomplete.vim
index 135f716b..ae83ea68 100644
--- a/autoload/htmlcomplete.vim
+++ b/autoload/htmlcomplete.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/htmlcomplete.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
" Vim completion script
diff --git a/autoload/jsonnet.vim b/autoload/jsonnet.vim
index 6607ac0d..0f1272db 100644
--- a/autoload/jsonnet.vim
+++ b/autoload/jsonnet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/jsonnet.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'jsonnet') == -1
diff --git a/autoload/jsx_pretty/comment.vim b/autoload/jsx_pretty/comment.vim
index 7ba23b82..15442453 100644
--- a/autoload/jsx_pretty/comment.vim
+++ b/autoload/jsx_pretty/comment.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/jsx_pretty/comment.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1)
function! jsx_pretty#comment#update_commentstring(original)
diff --git a/autoload/jsx_pretty/indent.vim b/autoload/jsx_pretty/indent.vim
index be78ccaa..77d62038 100644
--- a/autoload/jsx_pretty/indent.vim
+++ b/autoload/jsx_pretty/indent.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/jsx_pretty/indent.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1)
if exists('*shiftwidth')
diff --git a/autoload/julia.vim b/autoload/julia.vim
index 9442f611..daaa9f44 100644
--- a/autoload/julia.vim
+++ b/autoload/julia.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/julia.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
function! julia#set_syntax_version(jvers)
diff --git a/autoload/julia/doc.vim b/autoload/julia/doc.vim
index 0bba5bfc..7e6b5d31 100644
--- a/autoload/julia/doc.vim
+++ b/autoload/julia/doc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/julia/doc.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
" path to the julia binary to communicate with
diff --git a/autoload/julia_blocks.vim b/autoload/julia_blocks.vim
index 81c204cf..634462d6 100644
--- a/autoload/julia_blocks.vim
+++ b/autoload/julia_blocks.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/julia_blocks.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
" Facilities for moving around Julia blocks (e.g. if/end, function/end etc.)
diff --git a/autoload/julia_latex_symbols.vim b/autoload/julia_latex_symbols.vim
index 3b2bf050..23101f78 100644
--- a/autoload/julia_latex_symbols.vim
+++ b/autoload/julia_latex_symbols.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/julia_latex_symbols.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'julia') == -1
" This file is autogenerated from the script 'generate_latex_symbols_table.jl'
diff --git a/autoload/ledger.vim b/autoload/ledger.vim
index 225f96a3..cb7acfe7 100644
--- a/autoload/ledger.vim
+++ b/autoload/ledger.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/ledger.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ledger') == -1
scriptencoding utf-8
diff --git a/autoload/nim.vim b/autoload/nim.vim
index e5531ec5..cf7bb378 100644
--- a/autoload/nim.vim
+++ b/autoload/nim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/nim.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'nim') == -1
let g:nim_log = []
diff --git a/autoload/pony.vim b/autoload/pony.vim
index d7ab5d02..85506e8b 100644
--- a/autoload/pony.vim
+++ b/autoload/pony.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/pony.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'pony') == -1
" Vim plugin file
diff --git a/autoload/puppet/align.vim b/autoload/puppet/align.vim
index b7dc1eda..712b686b 100644
--- a/autoload/puppet/align.vim
+++ b/autoload/puppet/align.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/puppet/align.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
function! puppet#align#IndentLevel(lnum)
diff --git a/autoload/puppet/ctags.vim b/autoload/puppet/ctags.vim
index 8f4d108f..a86490bb 100644
--- a/autoload/puppet/ctags.vim
+++ b/autoload/puppet/ctags.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/puppet/ctags.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
diff --git a/autoload/puppet/format.vim b/autoload/puppet/format.vim
index 519fcc71..50337849 100644
--- a/autoload/puppet/format.vim
+++ b/autoload/puppet/format.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/puppet/format.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'puppet') == -1
"
diff --git a/autoload/python/utils.vim b/autoload/python/utils.vim
index c2e64874..283d785a 100644
--- a/autoload/python/utils.vim
+++ b/autoload/python/utils.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/python/utils.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'python-compiler') == -1
" Sometimes Python issues debugging messages
diff --git a/autoload/requirements.vim b/autoload/requirements.vim
index f237905e..79be715c 100644
--- a/autoload/requirements.vim
+++ b/autoload/requirements.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/requirements.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'requirements') == -1
" the Requirements File Format syntax support for Vim
diff --git a/autoload/rubycomplete.vim b/autoload/rubycomplete.vim
index 54b7e1b8..1e8a6f0d 100644
--- a/autoload/rubycomplete.vim
+++ b/autoload/rubycomplete.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/rubycomplete.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'ruby') == -1
" Vim completion script
diff --git a/autoload/rust.vim b/autoload/rust.vim
index 34dd1673..bab6a11f 100644
--- a/autoload/rust.vim
+++ b/autoload/rust.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/rust.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
" Description: Helper functions for Rust commands/mappings
diff --git a/autoload/rust/debugging.vim b/autoload/rust/debugging.vim
index 066e2451..3ddcc63c 100644
--- a/autoload/rust/debugging.vim
+++ b/autoload/rust/debugging.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/rust/debugging.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
" For debugging, inspired by https://github.com/w0rp/rust/blob/master/autoload/rust/debugging.vim
diff --git a/autoload/rust/delimitmate.vim b/autoload/rust/delimitmate.vim
index 6707adc5..c605742b 100644
--- a/autoload/rust/delimitmate.vim
+++ b/autoload/rust/delimitmate.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/rust/delimitmate.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
let s:delimitMate_extra_excluded_regions = ',rustLifetimeCandidate,rustGenericLifetimeCandidate'
diff --git a/autoload/rust/tags.vim b/autoload/rust/tags.vim
index e75fb208..10ce9440 100644
--- a/autoload/rust/tags.vim
+++ b/autoload/rust/tags.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/rust/tags.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
" Tagbar support code, for the sake of not automatically overriding its
diff --git a/autoload/rustfmt.vim b/autoload/rustfmt.vim
index 28cca07a..c847219b 100644
--- a/autoload/rustfmt.vim
+++ b/autoload/rustfmt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/rustfmt.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'rust') == -1
" Author: Stephen Sugden <stephen@stephensugden.com>
diff --git a/autoload/smt2.vim b/autoload/smt2.vim
index 294a64c6..b081d345 100644
--- a/autoload/smt2.vim
+++ b/autoload/smt2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/smt2.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'smt2') == -1
" Invokes the solver on current file
diff --git a/autoload/terraform.vim b/autoload/terraform.vim
index 1f987669..2380a395 100644
--- a/autoload/terraform.vim
+++ b/autoload/terraform.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/terraform.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'terraform') == -1
let s:cpo_save = &cpoptions
diff --git a/autoload/vital/_crystal.vim b/autoload/vital/_crystal.vim
index 27e1b310..ffa30240 100644
--- a/autoload/vital/_crystal.vim
+++ b/autoload/vital/_crystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/vital/_crystal.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
let s:_plugin_name = expand('<sfile>:t:r')
diff --git a/autoload/vital/_crystal/ColorEcho.vim b/autoload/vital/_crystal/ColorEcho.vim
index f93c5215..58996327 100644
--- a/autoload/vital/_crystal/ColorEcho.vim
+++ b/autoload/vital/_crystal/ColorEcho.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/vital/_crystal/ColorEcho.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" ___vital___
diff --git a/autoload/vital/_crystal/Data/List.vim b/autoload/vital/_crystal/Data/List.vim
index 18a7a947..06461525 100644
--- a/autoload/vital/_crystal/Data/List.vim
+++ b/autoload/vital/_crystal/Data/List.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/vital/_crystal/Data/List.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" ___vital___
diff --git a/autoload/vital/_crystal/Data/String.vim b/autoload/vital/_crystal/Data/String.vim
index d5124081..7e6ced35 100644
--- a/autoload/vital/_crystal/Data/String.vim
+++ b/autoload/vital/_crystal/Data/String.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/vital/_crystal/Data/String.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" ___vital___
diff --git a/autoload/vital/_crystal/Process.vim b/autoload/vital/_crystal/Process.vim
index ecbfc0d4..a7bbedad 100644
--- a/autoload/vital/_crystal/Process.vim
+++ b/autoload/vital/_crystal/Process.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/vital/_crystal/Process.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" ___vital___
diff --git a/autoload/vital/_crystal/Web/JSON.vim b/autoload/vital/_crystal/Web/JSON.vim
index c6892b4e..891bd2dc 100644
--- a/autoload/vital/_crystal/Web/JSON.vim
+++ b/autoload/vital/_crystal/Web/JSON.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/vital/_crystal/Web/JSON.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
" ___vital___
diff --git a/autoload/vital/crystal.vim b/autoload/vital/crystal.vim
index e1fb611b..ca8c320e 100644
--- a/autoload/vital/crystal.vim
+++ b/autoload/vital/crystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/vital/crystal.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'crystal') == -1
let s:plugin_name = expand('<sfile>:t:r')
diff --git a/autoload/xml/aria.vim b/autoload/xml/aria.vim
index 4fbd25d9..1cd801fe 100644
--- a/autoload/xml/aria.vim
+++ b/autoload/xml/aria.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/xml/aria.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
" Vim completion for WAI-ARIA data file
diff --git a/autoload/xml/html5.vim b/autoload/xml/html5.vim
index a20fd4f9..6e526be6 100644
--- a/autoload/xml/html5.vim
+++ b/autoload/xml/html5.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/xml/html5.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'html5') == -1
" Vim completion for HTML5 data file
diff --git a/autoload/xml/xsd.vim b/autoload/xml/xsd.vim
index 572581a1..ad3630da 100644
--- a/autoload/xml/xsd.vim
+++ b/autoload/xml/xsd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/xml/xsd.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'xsd') == -1
" Author: Thomas Barthel
diff --git a/autoload/zig/config.vim b/autoload/zig/config.vim
index 328ba100..d4f1a298 100644
--- a/autoload/zig/config.vim
+++ b/autoload/zig/config.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/zig/config.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
function! zig#config#ListTypeCommands() abort
diff --git a/autoload/zig/fmt.vim b/autoload/zig/fmt.vim
index d3aa9641..b1ec0bbe 100644
--- a/autoload/zig/fmt.vim
+++ b/autoload/zig/fmt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/zig/fmt.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
" Adapted from fatih/vim-go: autoload/go/fmt.vim
diff --git a/autoload/zig/list.vim b/autoload/zig/list.vim
index bdd43376..8ab57d42 100644
--- a/autoload/zig/list.vim
+++ b/autoload/zig/list.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/zig/list.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
" Adapted from fatih/vim-go: autoload/go/list.vim
diff --git a/autoload/zig/util.vim b/autoload/zig/util.vim
index bc454dd9..23d45758 100644
--- a/autoload/zig/util.vim
+++ b/autoload/zig/util.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'autoload/zig/util.vim', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+endif
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'zig') == -1
" Adapted from vim-go: autoload/go/util.vim