summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--compiler/ant.vim5
-rw-r--r--compiler/bdf.vim5
-rw-r--r--compiler/cake.vim5
-rw-r--r--compiler/cargo.vim5
-rw-r--r--compiler/coffee.vim5
-rw-r--r--compiler/credo.vim5
-rw-r--r--compiler/cryptol.vim5
-rw-r--r--compiler/cs.vim5
-rw-r--r--compiler/cucumber.vim5
-rw-r--r--compiler/dot.vim5
-rw-r--r--compiler/eruby.vim5
-rw-r--r--compiler/exunit.vim5
-rw-r--r--compiler/fish.vim5
-rw-r--r--compiler/go.vim5
-rw-r--r--compiler/gradle.vim5
-rw-r--r--compiler/gradlew.vim5
-rw-r--r--compiler/haml.vim5
-rw-r--r--compiler/ledger.vim5
-rw-r--r--compiler/lilypond.vim5
-rw-r--r--compiler/ls.vim5
-rw-r--r--compiler/mix.vim5
-rw-r--r--compiler/nim.vim5
-rw-r--r--compiler/nix-build.vim5
-rw-r--r--compiler/ocaml.vim5
-rw-r--r--compiler/powershell.vim5
-rw-r--r--compiler/python.vim5
-rw-r--r--compiler/rake.vim5
-rw-r--r--compiler/rspec.vim5
-rw-r--r--compiler/ruby.vim5
-rw-r--r--compiler/rubyunit.vim5
-rw-r--r--compiler/rustc.vim5
-rw-r--r--compiler/sass.vim5
-rw-r--r--compiler/sbt.vim5
-rw-r--r--compiler/swift.vim5
-rw-r--r--compiler/tcl.vim5
-rw-r--r--compiler/tex.vim5
-rw-r--r--compiler/tidy.vim5
-rw-r--r--compiler/typescript.vim5
-rw-r--r--extras/flow.vim5
-rw-r--r--extras/jsdoc.vim5
-rw-r--r--extras/ngdoc.vim5
-rw-r--r--ftplugin/8th.vim5
-rw-r--r--ftplugin/a2ps.vim5
-rw-r--r--ftplugin/aap.vim5
-rw-r--r--ftplugin/abap.vim5
-rw-r--r--ftplugin/abaqus.vim5
-rw-r--r--ftplugin/ada.vim5
-rw-r--r--ftplugin/alsaconf.vim5
-rw-r--r--ftplugin/ansible.vim5
-rw-r--r--ftplugin/ansible_hosts.vim5
-rw-r--r--ftplugin/ant.vim5
-rw-r--r--ftplugin/arch.vim5
-rw-r--r--ftplugin/art.vim5
-rw-r--r--ftplugin/aspvbs.vim5
-rw-r--r--ftplugin/automake.vim5
-rw-r--r--ftplugin/awk.vim5
-rw-r--r--ftplugin/bdf.vim5
-rw-r--r--ftplugin/blade.vim5
-rw-r--r--ftplugin/bst.vim5
-rw-r--r--ftplugin/bzl.vim5
-rw-r--r--ftplugin/caddyfile.vim5
-rw-r--r--ftplugin/calendar.vim5
-rw-r--r--ftplugin/cdrdaoconf.vim5
-rw-r--r--ftplugin/cfg.vim5
-rw-r--r--ftplugin/ch.vim5
-rw-r--r--ftplugin/clojure.vim5
-rw-r--r--ftplugin/cobol.vim5
-rw-r--r--ftplugin/coffee.vim5
-rw-r--r--ftplugin/conf.vim5
-rw-r--r--ftplugin/config.vim5
-rw-r--r--ftplugin/crm.vim5
-rw-r--r--ftplugin/cryptol/folding.vim5
-rw-r--r--ftplugin/crystal.vim5
-rw-r--r--ftplugin/cs.vim5
-rw-r--r--ftplugin/csc.vim5
-rw-r--r--ftplugin/css.vim5
-rw-r--r--ftplugin/csv.vim5
-rw-r--r--ftplugin/cucumber.vim5
-rw-r--r--ftplugin/cvsrc.vim5
-rw-r--r--ftplugin/dart.vim5
-rw-r--r--ftplugin/debchangelog.vim5
-rw-r--r--ftplugin/debcontrol.vim5
-rw-r--r--ftplugin/denyhosts.vim5
-rw-r--r--ftplugin/dhall.vim5
-rw-r--r--ftplugin/dictconf.vim5
-rw-r--r--ftplugin/dictdconf.vim5
-rw-r--r--ftplugin/diff.vim5
-rw-r--r--ftplugin/dircolors.vim5
-rw-r--r--ftplugin/docker-compose.vim5
-rw-r--r--ftplugin/dockerfile.vim5
-rw-r--r--ftplugin/dosbatch.vim5
-rw-r--r--ftplugin/dosini.vim5
-rw-r--r--ftplugin/dtd.vim5
-rw-r--r--ftplugin/dune.vim5
-rw-r--r--ftplugin/ecrystal.vim5
-rw-r--r--ftplugin/eelixir.vim5
-rw-r--r--ftplugin/elinks.vim5
-rw-r--r--ftplugin/elixir.vim5
-rw-r--r--ftplugin/embeddedpuppet.vim5
-rw-r--r--ftplugin/ember-script.vim5
-rw-r--r--ftplugin/emblem.vim5
-rw-r--r--ftplugin/eruby.vim5
-rw-r--r--ftplugin/eterm.vim5
-rw-r--r--ftplugin/falcon.vim5
-rw-r--r--ftplugin/fennel.vim5
-rw-r--r--ftplugin/fetchmail.vim5
-rw-r--r--ftplugin/fish.vim5
-rw-r--r--ftplugin/fortran.vim5
-rw-r--r--ftplugin/framescript.vim5
-rw-r--r--ftplugin/fvwm.vim5
-rw-r--r--ftplugin/gdb.vim5
-rw-r--r--ftplugin/git.vim5
-rw-r--r--ftplugin/gitcommit.vim5
-rw-r--r--ftplugin/gitconfig.vim5
-rw-r--r--ftplugin/gitignore.vim5
-rw-r--r--ftplugin/gitrebase.vim5
-rw-r--r--ftplugin/gitsendemail.vim5
-rw-r--r--ftplugin/gpg.vim5
-rw-r--r--ftplugin/graphql.vim5
-rw-r--r--ftplugin/groovy.vim5
-rw-r--r--ftplugin/group.vim5
-rw-r--r--ftplugin/grub.vim5
-rw-r--r--ftplugin/haml.vim5
-rw-r--r--ftplugin/hamster.vim5
-rw-r--r--ftplugin/handlebars.vim5
-rw-r--r--ftplugin/hcl.vim5
-rw-r--r--ftplugin/help.vim5
-rw-r--r--ftplugin/hgcommit.vim5
-rw-r--r--ftplugin/hive.vim5
-rw-r--r--ftplugin/hog.vim5
-rw-r--r--ftplugin/hostconf.vim5
-rw-r--r--ftplugin/hostsaccess.vim5
-rw-r--r--ftplugin/html.vim5
-rw-r--r--ftplugin/htmldjango.vim5
-rw-r--r--ftplugin/i3config.vim5
-rw-r--r--ftplugin/idris.vim5
-rw-r--r--ftplugin/idris2.vim5
-rw-r--r--ftplugin/indent.vim5
-rw-r--r--ftplugin/ion.vim5
-rw-r--r--ftplugin/j.vim5
-rw-r--r--ftplugin/java.vim5
-rw-r--r--ftplugin/jproperties.vim5
-rw-r--r--ftplugin/jq.vim5
-rw-r--r--ftplugin/json.vim5
-rw-r--r--ftplugin/jsonnet.vim5
-rw-r--r--ftplugin/jsp.vim5
-rw-r--r--ftplugin/julia.vim5
-rw-r--r--ftplugin/juliadoc.vim5
-rw-r--r--ftplugin/kconfig.vim5
-rw-r--r--ftplugin/kotlin.vim5
-rw-r--r--ftplugin/kwt.vim5
-rw-r--r--ftplugin/ld.vim5
-rw-r--r--ftplugin/less.vim5
-rw-r--r--ftplugin/lftp.vim5
-rw-r--r--ftplugin/libao.vim5
-rw-r--r--ftplugin/lilypond.vim5
-rw-r--r--ftplugin/limits.vim5
-rw-r--r--ftplugin/liquid.vim5
-rw-r--r--ftplugin/lisp.vim5
-rw-r--r--ftplugin/litcoffee.vim5
-rw-r--r--ftplugin/llvm.vim5
-rw-r--r--ftplugin/logcheck.vim5
-rw-r--r--ftplugin/loginaccess.vim5
-rw-r--r--ftplugin/logindefs.vim5
-rw-r--r--ftplugin/logtalk.vim5
-rw-r--r--ftplugin/lprolog.vim5
-rw-r--r--ftplugin/ls.vim5
-rw-r--r--ftplugin/m4.vim5
-rw-r--r--ftplugin/mail.vim5
-rw-r--r--ftplugin/mailaliases.vim5
-rw-r--r--ftplugin/mailcap.vim5
-rw-r--r--ftplugin/make.vim5
-rw-r--r--ftplugin/mako.vim5
-rw-r--r--ftplugin/manconf.vim5
-rw-r--r--ftplugin/markdown.vim5
-rw-r--r--ftplugin/meson.vim5
-rw-r--r--ftplugin/mf.vim5
-rw-r--r--ftplugin/mma.vim5
-rw-r--r--ftplugin/modconf.vim5
-rw-r--r--ftplugin/moon.vim5
-rw-r--r--ftplugin/mp.vim5
-rw-r--r--ftplugin/mplayerconf.vim5
-rw-r--r--ftplugin/mrxvtrc.vim5
-rw-r--r--ftplugin/mustache.vim5
-rw-r--r--ftplugin/muttrc.vim5
-rw-r--r--ftplugin/nanorc.vim5
-rw-r--r--ftplugin/neomuttrc.vim5
-rw-r--r--ftplugin/netrc.vim5
-rw-r--r--ftplugin/nginx.vim5
-rw-r--r--ftplugin/nix.vim5
-rw-r--r--ftplugin/nroff.vim5
-rw-r--r--ftplugin/nsis.vim5
-rw-r--r--ftplugin/oasis.vim5
-rw-r--r--ftplugin/objc.vim5
-rw-r--r--ftplugin/ocaml.vim5
-rw-r--r--ftplugin/ocamlbuild_tags.vim5
-rw-r--r--ftplugin/occam.vim5
-rw-r--r--ftplugin/omake.vim5
-rw-r--r--ftplugin/opencl.vim5
-rw-r--r--ftplugin/pamconf.vim5
-rw-r--r--ftplugin/pascal.vim5
-rw-r--r--ftplugin/passwd.vim5
-rw-r--r--ftplugin/pdf.vim5
-rw-r--r--ftplugin/perl.vim5
-rw-r--r--ftplugin/pinfo.vim5
-rw-r--r--ftplugin/plantuml.vim5
-rw-r--r--ftplugin/pony.vim5
-rw-r--r--ftplugin/postscr.vim5
-rw-r--r--ftplugin/procmail.vim5
-rw-r--r--ftplugin/prolog.vim5
-rw-r--r--ftplugin/protocols.vim5
-rw-r--r--ftplugin/ps1.vim5
-rw-r--r--ftplugin/ps1xml.vim5
-rw-r--r--ftplugin/pug.vim5
-rw-r--r--ftplugin/puppet.vim5
-rw-r--r--ftplugin/puppet_tagbar.vim5
-rw-r--r--ftplugin/purescript.vim5
-rw-r--r--ftplugin/pyrex.vim5
-rw-r--r--ftplugin/qml.vim5
-rw-r--r--ftplugin/quake.vim5
-rw-r--r--ftplugin/racket.vim5
-rw-r--r--ftplugin/raku.vim5
-rw-r--r--ftplugin/raml.vim5
-rw-r--r--ftplugin/razor.vim5
-rw-r--r--ftplugin/readline.vim5
-rw-r--r--ftplugin/reva.vim5
-rw-r--r--ftplugin/rmd.vim5
-rw-r--r--ftplugin/rnc.vim5
-rw-r--r--ftplugin/rnoweb.vim5
-rw-r--r--ftplugin/rpl.vim5
-rw-r--r--ftplugin/rrst.vim5
-rw-r--r--ftplugin/rst.vim5
-rw-r--r--ftplugin/ruby.vim5
-rw-r--r--ftplugin/rust.vim5
-rw-r--r--ftplugin/rust/tagbar.vim5
-rw-r--r--ftplugin/sass.vim5
-rw-r--r--ftplugin/sbt.vim5
-rw-r--r--ftplugin/scala.vim5
-rw-r--r--ftplugin/scala.xpt.vim5
-rw-r--r--ftplugin/scala/tagbar.vim5
-rw-r--r--ftplugin/scheme.vim5
-rw-r--r--ftplugin/screen.vim5
-rw-r--r--ftplugin/scss.vim5
-rw-r--r--ftplugin/sensors.vim5
-rw-r--r--ftplugin/services.vim5
-rw-r--r--ftplugin/setserial.vim5
-rw-r--r--ftplugin/sexplib.vim5
-rw-r--r--ftplugin/sieve.vim5
-rw-r--r--ftplugin/slim.vim5
-rw-r--r--ftplugin/slpconf.vim5
-rw-r--r--ftplugin/slpreg.vim5
-rw-r--r--ftplugin/slpspi.vim5
-rw-r--r--ftplugin/smt2.vim5
-rw-r--r--ftplugin/solidity.vim5
-rw-r--r--ftplugin/spec.vim5
-rw-r--r--ftplugin/sql.vim5
-rw-r--r--ftplugin/sshconfig.vim5
-rw-r--r--ftplugin/stylus.vim5
-rw-r--r--ftplugin/sudoers.vim5
-rw-r--r--ftplugin/svelte.vim5
-rw-r--r--ftplugin/swift.vim5
-rw-r--r--ftplugin/swiftgyb.vim5
-rw-r--r--ftplugin/sysctl.vim5
-rw-r--r--ftplugin/systemd.vim5
-rw-r--r--ftplugin/systemverilog.vim5
-rw-r--r--ftplugin/tablegen.vim5
-rw-r--r--ftplugin/tcl.vim5
-rw-r--r--ftplugin/terminfo.vim5
-rw-r--r--ftplugin/terraform.vim5
-rw-r--r--ftplugin/tex.vim5
-rw-r--r--ftplugin/text.vim5
-rw-r--r--ftplugin/textile.vim5
-rw-r--r--ftplugin/tmux.vim5
-rw-r--r--ftplugin/toml.vim5
-rw-r--r--ftplugin/treetop.vim5
-rw-r--r--ftplugin/tt2html.vim5
-rw-r--r--ftplugin/twig.vim5
-rw-r--r--ftplugin/typescript.vim5
-rw-r--r--ftplugin/typescriptreact.vim5
-rw-r--r--ftplugin/udevconf.vim5
-rw-r--r--ftplugin/udevperm.vim5
-rw-r--r--ftplugin/updatedb.vim5
-rw-r--r--ftplugin/vala.vim5
-rw-r--r--ftplugin/vb.vim5
-rw-r--r--ftplugin/verilog.vim5
-rw-r--r--ftplugin/vhdl.vim5
-rw-r--r--ftplugin/vlang.vim5
-rw-r--r--ftplugin/vroom.vim5
-rw-r--r--ftplugin/vue.vim5
-rw-r--r--ftplugin/wast.vim5
-rw-r--r--ftplugin/xdefaults.vim5
-rw-r--r--ftplugin/xf86conf.vim5
-rw-r--r--ftplugin/xhtml.vim5
-rw-r--r--ftplugin/xinetd.vim5
-rw-r--r--ftplugin/xmodmap.vim5
-rw-r--r--ftplugin/xs.vim5
-rw-r--r--ftplugin/xsd.vim5
-rw-r--r--ftplugin/xslt.vim5
-rw-r--r--ftplugin/yaml.vim5
-rw-r--r--ftplugin/zig.vim5
-rw-r--r--ftplugin/zimbu.vim5
-rw-r--r--indent/Jenkinsfile.vim5
-rw-r--r--indent/aap.vim5
-rw-r--r--indent/ada.vim5
-rw-r--r--indent/ansible.vim5
-rw-r--r--indent/ant.vim5
-rw-r--r--indent/applescript.vim5
-rw-r--r--indent/arduino.vim5
-rw-r--r--indent/autohotkey.vim5
-rw-r--r--indent/automake.vim5
-rw-r--r--indent/awk.vim5
-rw-r--r--indent/bib.vim5
-rw-r--r--indent/blade.vim5
-rw-r--r--indent/bst.vim5
-rw-r--r--indent/bzl.vim5
-rw-r--r--indent/cabal.vim5
-rw-r--r--indent/caddyfile.vim5
-rw-r--r--indent/cdl.vim5
-rw-r--r--indent/ch.vim5
-rw-r--r--indent/chaiscript.vim5
-rw-r--r--indent/clojure.vim5
-rw-r--r--indent/cmake.vim5
-rw-r--r--indent/cobol.vim5
-rw-r--r--indent/coffee.vim5
-rw-r--r--indent/config.vim5
-rw-r--r--indent/crystal.vim5
-rw-r--r--indent/cs.vim5
-rw-r--r--indent/css.vim5
-rw-r--r--indent/cucumber.vim5
-rw-r--r--indent/cuda.vim5
-rw-r--r--indent/cython.vim5
-rw-r--r--indent/d.vim5
-rw-r--r--indent/dart.vim5
-rw-r--r--indent/dictconf.vim5
-rw-r--r--indent/dictdconf.vim5
-rw-r--r--indent/dosbatch.vim5
-rw-r--r--indent/dtd.vim5
-rw-r--r--indent/dune.vim5
-rw-r--r--indent/dylan.vim5
-rw-r--r--indent/ecrystal.vim5
-rw-r--r--indent/eelixir.vim5
-rw-r--r--indent/elixir.vim5
-rw-r--r--indent/elm.vim5
-rw-r--r--indent/ember-script.vim5
-rw-r--r--indent/emblem.vim5
-rw-r--r--indent/erlang.vim5
-rw-r--r--indent/eruby.vim5
-rw-r--r--indent/eterm.vim5
-rw-r--r--indent/falcon.vim5
-rw-r--r--indent/fennel.vim5
-rw-r--r--indent/fish.vim5
-rw-r--r--indent/fortran.vim5
-rw-r--r--indent/framescript.vim5
-rw-r--r--indent/fsharp.vim5
-rw-r--r--indent/gdscript3.vim5
-rw-r--r--indent/gitconfig.vim5
-rw-r--r--indent/gitolite.vim5
-rw-r--r--indent/glsl.vim5
-rw-r--r--indent/go.vim5
-rw-r--r--indent/gohtmltmpl.vim5
-rw-r--r--indent/graphql.vim5
-rw-r--r--indent/haml.vim5
-rw-r--r--indent/hamster.vim5
-rw-r--r--indent/handlebars.vim5
-rw-r--r--indent/haskell.vim5
-rw-r--r--indent/hcl.vim5
-rw-r--r--indent/hog.vim5
-rw-r--r--indent/html.vim5
-rw-r--r--indent/htmldjango.vim5
-rw-r--r--indent/idris.vim5
-rw-r--r--indent/idris2.vim5
-rw-r--r--indent/j.vim5
-rw-r--r--indent/java.vim5
-rw-r--r--indent/javascript.vim5
-rw-r--r--indent/json.vim5
-rw-r--r--indent/jsp.vim5
-rw-r--r--indent/jst.vim5
-rw-r--r--indent/julia.vim5
-rw-r--r--indent/kotlin.vim5
-rw-r--r--indent/ld.vim5
-rw-r--r--indent/ledger.vim5
-rw-r--r--indent/less.vim5
-rw-r--r--indent/lifelines.vim5
-rw-r--r--indent/lilypond.vim5
-rw-r--r--indent/liquid.vim5
-rw-r--r--indent/lisp.vim5
-rw-r--r--indent/litcoffee.vim5
-rw-r--r--indent/llvm.vim5
-rw-r--r--indent/logtalk.vim5
-rw-r--r--indent/ls.vim5
-rw-r--r--indent/lua.vim5
-rw-r--r--indent/mail.vim5
-rw-r--r--indent/make.vim5
-rw-r--r--indent/mako.vim5
-rw-r--r--indent/markdown.vim5
-rw-r--r--indent/meson.vim5
-rw-r--r--indent/mf.vim5
-rw-r--r--indent/moon.vim5
-rw-r--r--indent/mp.vim5
-rw-r--r--indent/mustache.vim5
-rw-r--r--indent/nginx.vim5
-rw-r--r--indent/nim.vim5
-rw-r--r--indent/nix.vim5
-rw-r--r--indent/nsis.vim5
-rw-r--r--indent/ocaml.vim5
-rw-r--r--indent/occam.vim5
-rw-r--r--indent/octave.vim5
-rw-r--r--indent/odin.vim5
-rw-r--r--indent/omake.vim5
-rw-r--r--indent/opencl.vim5
-rw-r--r--indent/pascal.vim5
-rw-r--r--indent/perl.vim5
-rw-r--r--indent/pgsql.vim5
-rw-r--r--indent/plantuml.vim5
-rw-r--r--indent/pony.vim5
-rw-r--r--indent/postscr.vim5
-rw-r--r--indent/pov.vim5
-rw-r--r--indent/prolog.vim5
-rw-r--r--indent/proto.vim5
-rw-r--r--indent/ps1.vim5
-rw-r--r--indent/pug.vim5
-rw-r--r--indent/puppet.vim5
-rw-r--r--indent/purescript.vim5
-rw-r--r--indent/pyrex.vim5
-rw-r--r--indent/python.vim5
-rw-r--r--indent/qml.vim5
-rw-r--r--indent/racket.vim5
-rw-r--r--indent/raku.vim5
-rw-r--r--indent/razor.vim5
-rw-r--r--indent/readline.vim5
-rw-r--r--indent/reason.vim5
-rw-r--r--indent/rmd.vim5
-rw-r--r--indent/rnoweb.vim5
-rw-r--r--indent/rpl.vim5
-rw-r--r--indent/rrst.vim5
-rw-r--r--indent/rst.vim5
-rw-r--r--indent/ruby.vim5
-rw-r--r--indent/rust.vim5
-rw-r--r--indent/sas.vim5
-rw-r--r--indent/sass.vim5
-rw-r--r--indent/scala.vim5
-rw-r--r--indent/scheme.vim5
-rw-r--r--indent/scss.vim5
-rw-r--r--indent/sdl.vim5
-rw-r--r--indent/slim.vim5
-rw-r--r--indent/slime.vim5
-rw-r--r--indent/sml.vim5
-rw-r--r--indent/solidity.vim5
-rw-r--r--indent/sql.vim5
-rw-r--r--indent/sshconfig.vim5
-rw-r--r--indent/stylus.vim5
-rw-r--r--indent/svelte.vim5
-rw-r--r--indent/svg.vim5
-rw-r--r--indent/swift.vim5
-rw-r--r--indent/systemverilog.vim5
-rw-r--r--indent/tcl.vim5
-rw-r--r--indent/teraterm.vim5
-rw-r--r--indent/terraform.vim5
-rw-r--r--indent/tex.vim5
-rw-r--r--indent/tf.vim5
-rw-r--r--indent/tilde.vim5
-rw-r--r--indent/treetop.vim5
-rw-r--r--indent/twig.vim5
-rw-r--r--indent/typescript.vim5
-rw-r--r--indent/typescriptreact.vim5
-rw-r--r--indent/vala.vim5
-rw-r--r--indent/vb.vim5
-rw-r--r--indent/velocity.vim5
-rw-r--r--indent/verilog.vim5
-rw-r--r--indent/vhdl.vim5
-rw-r--r--indent/vlang.vim5
-rw-r--r--indent/vroom.vim5
-rw-r--r--indent/vue.vim5
-rw-r--r--indent/wast.vim5
-rw-r--r--indent/xf86conf.vim5
-rw-r--r--indent/xhtml.vim5
-rw-r--r--indent/xinetd.vim5
-rw-r--r--indent/xsd.vim5
-rw-r--r--indent/xslt.vim5
-rw-r--r--indent/yacc.vim5
-rw-r--r--indent/yaml.vim5
-rw-r--r--indent/zig.vim5
-rw-r--r--indent/zimbu.vim5
-rwxr-xr-xscripts/build9
-rw-r--r--syntax/8th.vim5
-rw-r--r--syntax/Jenkinsfile.vim5
-rw-r--r--syntax/a2ps.vim5
-rw-r--r--syntax/a65.vim5
-rw-r--r--syntax/aap.vim5
-rw-r--r--syntax/abap.vim5
-rw-r--r--syntax/abaqus.vim5
-rw-r--r--syntax/abc.vim5
-rw-r--r--syntax/abel.vim5
-rw-r--r--syntax/acedb.vim5
-rw-r--r--syntax/ada.vim5
-rw-r--r--syntax/ahdl.vim5
-rw-r--r--syntax/aidl.vim5
-rw-r--r--syntax/alsaconf.vim5
-rw-r--r--syntax/aml.vim5
-rw-r--r--syntax/ampl.vim5
-rw-r--r--syntax/ansible.vim5
-rw-r--r--syntax/ansible_hosts.vim5
-rw-r--r--syntax/ant.vim5
-rw-r--r--syntax/apache.vim5
-rw-r--r--syntax/apachestyle.vim5
-rw-r--r--syntax/apiblueprint.vim5
-rw-r--r--syntax/applescript.vim5
-rw-r--r--syntax/aptconf.vim5
-rw-r--r--syntax/arch.vim5
-rw-r--r--syntax/arduino.vim5
-rw-r--r--syntax/art.vim5
-rw-r--r--syntax/asciidoc.vim5
-rw-r--r--syntax/asl.vim5
-rw-r--r--syntax/asn.vim5
-rw-r--r--syntax/aspperl.vim5
-rw-r--r--syntax/aspvbs.vim5
-rw-r--r--syntax/asterisk.vim5
-rw-r--r--syntax/asteriskvm.vim5
-rw-r--r--syntax/atlas.vim5
-rw-r--r--syntax/autodoc.vim5
-rw-r--r--syntax/autoit.vim5
-rw-r--r--syntax/automake.vim5
-rw-r--r--syntax/ave.vim5
-rw-r--r--syntax/awk.vim5
-rw-r--r--syntax/b.vim5
-rw-r--r--syntax/basic.vim5
-rw-r--r--syntax/basic/class.vim5
-rw-r--r--syntax/basic/cluster.vim5
-rw-r--r--syntax/basic/decorator.vim5
-rw-r--r--syntax/basic/doc.vim5
-rw-r--r--syntax/basic/function.vim5
-rw-r--r--syntax/basic/identifiers.vim5
-rw-r--r--syntax/basic/keyword.vim5
-rw-r--r--syntax/basic/literal.vim5
-rw-r--r--syntax/basic/members.vim5
-rw-r--r--syntax/basic/object.vim5
-rw-r--r--syntax/basic/patch.vim5
-rw-r--r--syntax/basic/reserved.vim5
-rw-r--r--syntax/basic/symbols.vim5
-rw-r--r--syntax/basic/type.vim5
-rw-r--r--syntax/bc.vim5
-rw-r--r--syntax/bdf.vim5
-rw-r--r--syntax/bib.vim5
-rw-r--r--syntax/bindzone.vim5
-rw-r--r--syntax/blade.vim5
-rw-r--r--syntax/blank.vim5
-rw-r--r--syntax/brewfile.vim5
-rw-r--r--syntax/bsdl.vim5
-rw-r--r--syntax/bst.vim5
-rw-r--r--syntax/bzl.vim5
-rw-r--r--syntax/bzr.vim5
-rw-r--r--syntax/c.vim5
-rw-r--r--syntax/cabal-1.vim5
-rw-r--r--syntax/cabal-2.vim5
-rw-r--r--syntax/caddyfile.vim5
-rw-r--r--syntax/calendar.vim5
-rw-r--r--syntax/carp.vim5
-rw-r--r--syntax/catalog.vim5
-rw-r--r--syntax/cdl.vim5
-rw-r--r--syntax/cdrdaoconf.vim5
-rw-r--r--syntax/cdrtoc.vim5
-rw-r--r--syntax/cf.vim5
-rw-r--r--syntax/cfg.vim5
-rw-r--r--syntax/ch.vim5
-rw-r--r--syntax/chaiscript.vim5
-rw-r--r--syntax/chaskell.vim5
-rw-r--r--syntax/chill.vim5
-rw-r--r--syntax/chordpro.vim5
-rw-r--r--syntax/cl.vim5
-rw-r--r--syntax/clean.vim5
-rw-r--r--syntax/clojure.vim5
-rw-r--r--syntax/cmake.vim5
-rw-r--r--syntax/cmod.vim5
-rw-r--r--syntax/cmusrc.vim5
-rw-r--r--syntax/cobol.vim5
-rw-r--r--syntax/coco.vim5
-rw-r--r--syntax/coffee.vim5
-rw-r--r--syntax/common.vim5
-rw-r--r--syntax/conaryrecipe.vim5
-rw-r--r--syntax/conf.vim5
-rw-r--r--syntax/config.vim5
-rw-r--r--syntax/cpp.vim5
-rw-r--r--syntax/cql.vim5
-rw-r--r--syntax/crm.vim5
-rw-r--r--syntax/crontab.vim5
-rw-r--r--syntax/cryptol.vim5
-rw-r--r--syntax/crystal.vim5
-rw-r--r--syntax/cs.vim5
-rw-r--r--syntax/csc.vim5
-rw-r--r--syntax/csdl.vim5
-rw-r--r--syntax/csp.vim5
-rw-r--r--syntax/css.vim5
-rw-r--r--syntax/csv.vim5
-rw-r--r--syntax/cterm.vim5
-rw-r--r--syntax/cucumber.vim5
-rw-r--r--syntax/cuda.vim5
-rw-r--r--syntax/cuesheet.vim5
-rw-r--r--syntax/cupl.vim5
-rw-r--r--syntax/cuplsim.vim5
-rw-r--r--syntax/cvs.vim5
-rw-r--r--syntax/cvsrc.vim5
-rw-r--r--syntax/cynpp.vim5
-rw-r--r--syntax/d.vim5
-rw-r--r--syntax/dart.vim5
-rw-r--r--syntax/datascript.vim5
-rw-r--r--syntax/dcd.vim5
-rw-r--r--syntax/dcov.vim5
-rw-r--r--syntax/dd.vim5
-rw-r--r--syntax/ddoc.vim5
-rw-r--r--syntax/debchangelog.vim5
-rw-r--r--syntax/debcontrol.vim5
-rw-r--r--syntax/debcopyright.vim5
-rw-r--r--syntax/debsources.vim5
-rw-r--r--syntax/def.vim5
-rw-r--r--syntax/denyhosts.vim5
-rw-r--r--syntax/desc.vim5
-rw-r--r--syntax/desktop.vim5
-rw-r--r--syntax/dhall.vim5
-rw-r--r--syntax/dictconf.vim5
-rw-r--r--syntax/dictdconf.vim5
-rw-r--r--syntax/diff.vim5
-rw-r--r--syntax/dircolors.vim5
-rw-r--r--syntax/django.vim5
-rw-r--r--syntax/dnsmasq.vim5
-rw-r--r--syntax/docker-compose.vim5
-rw-r--r--syntax/dockerfile.vim5
-rw-r--r--syntax/dosbatch.vim5
-rw-r--r--syntax/dosini.vim5
-rw-r--r--syntax/dot.vim5
-rw-r--r--syntax/dracula.vim5
-rw-r--r--syntax/dsdl.vim5
-rw-r--r--syntax/dsl.vim5
-rw-r--r--syntax/dtd.vim5
-rw-r--r--syntax/dts.vim5
-rw-r--r--syntax/dune.vim5
-rw-r--r--syntax/dylan.vim5
-rw-r--r--syntax/dylanintr.vim5
-rw-r--r--syntax/dylanlid.vim5
-rw-r--r--syntax/ecd.vim5
-rw-r--r--syntax/ecrystal.vim5
-rw-r--r--syntax/edif.vim5
-rw-r--r--syntax/eelixir.vim5
-rw-r--r--syntax/elf.vim5
-rw-r--r--syntax/elinks.vim5
-rw-r--r--syntax/elixir.vim5
-rw-r--r--syntax/elm.vim5
-rw-r--r--syntax/elmfilt.vim5
-rw-r--r--syntax/embeddedpuppet.vim5
-rw-r--r--syntax/ember-script.vim5
-rw-r--r--syntax/emblem.vim5
-rw-r--r--syntax/erlang.vim5
-rw-r--r--syntax/eruby.vim5
-rw-r--r--syntax/esmtprc.vim5
-rw-r--r--syntax/esqlc.vim5
-rw-r--r--syntax/esterel.vim5
-rw-r--r--syntax/eterm.vim5
-rw-r--r--syntax/exim.vim5
-rw-r--r--syntax/expect.vim5
-rw-r--r--syntax/exports.vim5
-rw-r--r--syntax/falcon.vim5
-rw-r--r--syntax/fan.vim5
-rw-r--r--syntax/fbs.vim5
-rw-r--r--syntax/fennel.vim5
-rw-r--r--syntax/ferm.vim5
-rw-r--r--syntax/fetchmail.vim5
-rw-r--r--syntax/fgl.vim5
-rw-r--r--syntax/fish.vim5
-rw-r--r--syntax/flow.vim5
-rw-r--r--syntax/focexec.vim5
-rw-r--r--syntax/forth.vim5
-rw-r--r--syntax/fortran.vim5
-rw-r--r--syntax/framescript.vim5
-rw-r--r--syntax/freebasic.vim5
-rw-r--r--syntax/fsharp.vim5
-rw-r--r--syntax/fstab.vim5
-rw-r--r--syntax/fvwm.vim5
-rw-r--r--syntax/gdb.vim5
-rw-r--r--syntax/gdmo.vim5
-rw-r--r--syntax/gdscript3.vim5
-rw-r--r--syntax/gedcom.vim5
-rw-r--r--syntax/git.vim5
-rw-r--r--syntax/gitcommit.vim5
-rw-r--r--syntax/gitconfig.vim5
-rw-r--r--syntax/gitignore.vim5
-rw-r--r--syntax/gitolite.vim5
-rw-r--r--syntax/gitrebase.vim5
-rw-r--r--syntax/gitsendemail.vim5
-rw-r--r--syntax/gkrellmrc.vim5
-rw-r--r--syntax/glsl.vim5
-rw-r--r--syntax/gmpl.vim5
-rw-r--r--syntax/gnash.vim5
-rw-r--r--syntax/gnuplot.vim5
-rw-r--r--syntax/go.vim5
-rw-r--r--syntax/godebugoutput.vim5
-rw-r--r--syntax/godebugstacktrace.vim5
-rw-r--r--syntax/godebugvariables.vim5
-rw-r--r--syntax/godefstack.vim5
-rw-r--r--syntax/gohtmltmpl.vim5
-rw-r--r--syntax/gomod.vim5
-rw-r--r--syntax/gotexttmpl.vim5
-rw-r--r--syntax/gp.vim5
-rw-r--r--syntax/gpg.vim5
-rw-r--r--syntax/grads.vim5
-rw-r--r--syntax/graphql.vim5
-rw-r--r--syntax/gretl.vim5
-rw-r--r--syntax/groovy.vim5
-rw-r--r--syntax/group.vim5
-rw-r--r--syntax/grub.vim5
-rw-r--r--syntax/gsl.vim5
-rw-r--r--syntax/gsp.vim5
-rw-r--r--syntax/gtkrc.vim5
-rw-r--r--syntax/haml.vim5
-rw-r--r--syntax/hamster.vim5
-rw-r--r--syntax/handlebars.vim5
-rw-r--r--syntax/haproxy.vim5
-rw-r--r--syntax/haskell.vim5
-rw-r--r--syntax/haste.vim5
-rw-r--r--syntax/hastepreproc.vim5
-rw-r--r--syntax/haxe.vim5
-rw-r--r--syntax/hb.vim5
-rw-r--r--syntax/hcl.vim5
-rw-r--r--syntax/helm.vim5
-rw-r--r--syntax/help.vim5
-rw-r--r--syntax/hercules.vim5
-rw-r--r--syntax/hex.vim5
-rw-r--r--syntax/hgcommit.vim5
-rw-r--r--syntax/hive.vim5
-rw-r--r--syntax/hog.vim5
-rw-r--r--syntax/hollywood.vim5
-rw-r--r--syntax/hostconf.vim5
-rw-r--r--syntax/hostsaccess.vim5
-rw-r--r--syntax/html.vim5
-rw-r--r--syntax/htmldjango.vim5
-rw-r--r--syntax/htmlm4.vim5
-rw-r--r--syntax/i3config.vim5
-rw-r--r--syntax/ibasic.vim5
-rw-r--r--syntax/icalendar.vim5
-rw-r--r--syntax/icemenu.vim5
-rw-r--r--syntax/icon.vim5
-rw-r--r--syntax/idris.vim5
-rw-r--r--syntax/idris2.vim5
-rw-r--r--syntax/indent.vim5
-rw-r--r--syntax/inform.vim5
-rw-r--r--syntax/initng.vim5
-rw-r--r--syntax/inittab.vim5
-rw-r--r--syntax/ion.vim5
-rw-r--r--syntax/ipfilter.vim5
-rw-r--r--syntax/iss.vim5
-rw-r--r--syntax/ist.vim5
-rw-r--r--syntax/j.vim5
-rw-r--r--syntax/jal.vim5
-rw-r--r--syntax/jam.vim5
-rw-r--r--syntax/java.vim5
-rw-r--r--syntax/javacc.vim5
-rw-r--r--syntax/javascript.vim5
-rw-r--r--syntax/jess.vim5
-rw-r--r--syntax/jgraph.vim5
-rw-r--r--syntax/jinja2.vim5
-rw-r--r--syntax/jovial.vim5
-rw-r--r--syntax/jproperties.vim5
-rw-r--r--syntax/jq.vim5
-rw-r--r--syntax/json.vim5
-rw-r--r--syntax/json5.vim5
-rw-r--r--syntax/jsonnet.vim5
-rw-r--r--syntax/jsp.vim5
-rw-r--r--syntax/jst.vim5
-rw-r--r--syntax/julia.vim5
-rw-r--r--syntax/juliadoc.vim5
-rw-r--r--syntax/kconfig.vim5
-rw-r--r--syntax/kivy.vim5
-rw-r--r--syntax/kix.vim5
-rw-r--r--syntax/kotlin.vim5
-rw-r--r--syntax/kscript.vim5
-rw-r--r--syntax/kwt.vim5
-rw-r--r--syntax/lace.vim5
-rw-r--r--syntax/latte.vim5
-rw-r--r--syntax/ld.vim5
-rw-r--r--syntax/ldif.vim5
-rw-r--r--syntax/ledger.vim5
-rw-r--r--syntax/less.vim5
-rw-r--r--syntax/lex.vim5
-rw-r--r--syntax/lftp.vim5
-rw-r--r--syntax/lhaskell.vim5
-rw-r--r--syntax/libao.vim5
-rw-r--r--syntax/lidris.vim5
-rw-r--r--syntax/lidris2.vim5
-rw-r--r--syntax/lifelines.vim5
-rw-r--r--syntax/lilo.vim5
-rw-r--r--syntax/lilypond-words.vim5
-rw-r--r--syntax/lilypond.vim5
-rw-r--r--syntax/limits.vim5
-rw-r--r--syntax/liquid.vim5
-rw-r--r--syntax/lisp.vim5
-rw-r--r--syntax/litcoffee.vim5
-rw-r--r--syntax/lite.vim5
-rw-r--r--syntax/litestep.vim5
-rw-r--r--syntax/llvm.vim5
-rw-r--r--syntax/log.vim5
-rw-r--r--syntax/loginaccess.vim5
-rw-r--r--syntax/logindefs.vim5
-rw-r--r--syntax/logtalk.vim5
-rw-r--r--syntax/lotos.vim5
-rw-r--r--syntax/lout.vim5
-rw-r--r--syntax/lpc.vim5
-rw-r--r--syntax/lprolog.vim5
-rw-r--r--syntax/ls.vim5
-rw-r--r--syntax/lsl.vim5
-rw-r--r--syntax/lss.vim5
-rw-r--r--syntax/lua.vim5
-rw-r--r--syntax/lynx.vim5
-rw-r--r--syntax/m4.vim5
-rw-r--r--syntax/mail.vim5
-rw-r--r--syntax/mailaliases.vim5
-rw-r--r--syntax/mailcap.vim5
-rw-r--r--syntax/make.vim5
-rw-r--r--syntax/mako.vim5
-rw-r--r--syntax/mallard.vim5
-rw-r--r--syntax/manconf.vim5
-rw-r--r--syntax/maple.vim5
-rw-r--r--syntax/markdown.vim5
-rw-r--r--syntax/mason.vim5
-rw-r--r--syntax/master.vim5
-rw-r--r--syntax/mel.vim5
-rw-r--r--syntax/merlin.vim5
-rw-r--r--syntax/meson.vim5
-rw-r--r--syntax/messages.vim5
-rw-r--r--syntax/mf.vim5
-rw-r--r--syntax/mgl.vim5
-rw-r--r--syntax/mgp.vim5
-rw-r--r--syntax/mib.vim5
-rw-r--r--syntax/mix.vim5
-rw-r--r--syntax/mma.vim5
-rw-r--r--syntax/mmp.vim5
-rw-r--r--syntax/modconf.vim5
-rw-r--r--syntax/modula2.vim5
-rw-r--r--syntax/modula3.vim5
-rw-r--r--syntax/monk.vim5
-rw-r--r--syntax/moo.vim5
-rw-r--r--syntax/moon.vim5
-rw-r--r--syntax/mp.vim5
-rw-r--r--syntax/mplayerconf.vim5
-rw-r--r--syntax/mrxvtrc.vim5
-rw-r--r--syntax/msidl.vim5
-rw-r--r--syntax/msql.vim5
-rw-r--r--syntax/mupad.vim5
-rw-r--r--syntax/murphi.vim5
-rw-r--r--syntax/mush.vim5
-rw-r--r--syntax/mustache.vim5
-rw-r--r--syntax/muttrc.vim5
-rw-r--r--syntax/mysql.vim5
-rw-r--r--syntax/n1ql.vim5
-rw-r--r--syntax/named.vim5
-rw-r--r--syntax/nanorc.vim5
-rw-r--r--syntax/natural.vim5
-rw-r--r--syntax/ncf.vim5
-rw-r--r--syntax/neomuttrc.vim5
-rw-r--r--syntax/netrc.vim5
-rw-r--r--syntax/nginx.vim5
-rw-r--r--syntax/nim.vim5
-rw-r--r--syntax/ninja.vim5
-rw-r--r--syntax/nix.vim5
-rw-r--r--syntax/nqc.vim5
-rw-r--r--syntax/nroff.vim5
-rw-r--r--syntax/nsis.vim5
-rw-r--r--syntax/oasis.vim5
-rw-r--r--syntax/obj.vim5
-rw-r--r--syntax/ocaml.vim5
-rw-r--r--syntax/ocamlbuild_tags.vim5
-rw-r--r--syntax/occam.vim5
-rw-r--r--syntax/ocpbuild.vim5
-rw-r--r--syntax/ocpbuildroot.vim5
-rw-r--r--syntax/octave.vim5
-rw-r--r--syntax/odin.vim5
-rw-r--r--syntax/omake.vim5
-rw-r--r--syntax/omnimark.vim5
-rw-r--r--syntax/opam.vim5
-rw-r--r--syntax/opencl.vim5
-rw-r--r--syntax/openroad.vim5
-rw-r--r--syntax/opl.vim5
-rw-r--r--syntax/ora.vim5
-rw-r--r--syntax/pamconf.vim5
-rw-r--r--syntax/pamenv.vim5
-rw-r--r--syntax/papp.vim5
-rw-r--r--syntax/pascal.vim5
-rw-r--r--syntax/passwd.vim5
-rw-r--r--syntax/pccts.vim5
-rw-r--r--syntax/pdf.vim5
-rw-r--r--syntax/perl.vim5
-rw-r--r--syntax/pf.vim5
-rw-r--r--syntax/pfmain.vim5
-rw-r--r--syntax/pgsql.vim5
-rw-r--r--syntax/php.vim5
-rw-r--r--syntax/pike.vim5
-rw-r--r--syntax/pilrc.vim5
-rw-r--r--syntax/pine.vim5
-rw-r--r--syntax/pinfo.vim5
-rw-r--r--syntax/plantuml.vim5
-rw-r--r--syntax/pli.vim5
-rw-r--r--syntax/plm.vim5
-rw-r--r--syntax/plp.vim5
-rw-r--r--syntax/plsql.vim5
-rw-r--r--syntax/po.vim5
-rw-r--r--syntax/pod.vim5
-rw-r--r--syntax/pony.vim5
-rw-r--r--syntax/postscr.vim5
-rw-r--r--syntax/pov.vim5
-rw-r--r--syntax/povini.vim5
-rw-r--r--syntax/ppd.vim5
-rw-r--r--syntax/ppwiz.vim5
-rw-r--r--syntax/privoxy.vim5
-rw-r--r--syntax/procmail.vim5
-rw-r--r--syntax/prolog.vim5
-rw-r--r--syntax/promela.vim5
-rw-r--r--syntax/proto.vim5
-rw-r--r--syntax/protocols.vim5
-rw-r--r--syntax/ps1.vim5
-rw-r--r--syntax/ps1xml.vim5
-rw-r--r--syntax/psf.vim5
-rw-r--r--syntax/pug.vim5
-rw-r--r--syntax/puppet.vim5
-rw-r--r--syntax/purescript.vim5
-rw-r--r--syntax/pyrex.vim5
-rw-r--r--syntax/python.vim5
-rw-r--r--syntax/qmake.vim5
-rw-r--r--syntax/qml.vim5
-rw-r--r--syntax/quake.vim5
-rw-r--r--syntax/racket.vim5
-rw-r--r--syntax/radiance.vim5
-rw-r--r--syntax/ragel.vim5
-rw-r--r--syntax/raku.vim5
-rw-r--r--syntax/raml.vim5
-rw-r--r--syntax/ratpoison.vim5
-rw-r--r--syntax/razor.vim5
-rw-r--r--syntax/rc.vim5
-rw-r--r--syntax/rcs.vim5
-rw-r--r--syntax/readline.vim5
-rw-r--r--syntax/reason.vim5
-rw-r--r--syntax/rego.vim5
-rw-r--r--syntax/remind.vim5
-rw-r--r--syntax/requirements.vim5
-rw-r--r--syntax/resolv.vim5
-rw-r--r--syntax/reva.vim5
-rw-r--r--syntax/rexx.vim5
-rw-r--r--syntax/rhelp.vim5
-rw-r--r--syntax/rib.vim5
-rw-r--r--syntax/rmd.vim5
-rw-r--r--syntax/rnc.vim5
-rw-r--r--syntax/rng.vim5
-rw-r--r--syntax/rnoweb-1.vim5
-rw-r--r--syntax/rnoweb-2.vim5
-rw-r--r--syntax/robots.vim5
-rw-r--r--syntax/rpcgen.vim5
-rw-r--r--syntax/rpl.vim5
-rw-r--r--syntax/rrst.vim5
-rw-r--r--syntax/rst.vim5
-rw-r--r--syntax/rtf.vim5
-rw-r--r--syntax/ruby.vim5
-rw-r--r--syntax/rust.vim5
-rw-r--r--syntax/samba.vim5
-rw-r--r--syntax/sas.vim5
-rw-r--r--syntax/sass.vim5
-rw-r--r--syntax/sather.vim5
-rw-r--r--syntax/sbt.vim5
-rw-r--r--syntax/scala.vim5
-rw-r--r--syntax/scheme.vim5
-rw-r--r--syntax/scilab.vim5
-rw-r--r--syntax/screen.vim5
-rw-r--r--syntax/scss.vim5
-rw-r--r--syntax/sd.vim5
-rw-r--r--syntax/sdc.vim5
-rw-r--r--syntax/sdl.vim5
-rw-r--r--syntax/sed.vim5
-rw-r--r--syntax/sensors.vim5
-rw-r--r--syntax/services.vim5
-rw-r--r--syntax/setserial.vim5
-rw-r--r--syntax/sexplib.vim5
-rw-r--r--syntax/sh.vim5
-rw-r--r--syntax/sieve.vim5
-rw-r--r--syntax/sil.vim5
-rw-r--r--syntax/simula.vim5
-rw-r--r--syntax/sinda.vim5
-rw-r--r--syntax/sisu.vim5
-rw-r--r--syntax/skill.vim5
-rw-r--r--syntax/slang.vim5
-rw-r--r--syntax/slice.vim5
-rw-r--r--syntax/slim.vim5
-rw-r--r--syntax/slime.vim5
-rw-r--r--syntax/slpconf.vim5
-rw-r--r--syntax/slpreg.vim5
-rw-r--r--syntax/slpspi.vim5
-rw-r--r--syntax/slrnrc.vim5
-rw-r--r--syntax/slrnsc.vim5
-rw-r--r--syntax/sm.vim5
-rw-r--r--syntax/smarty.vim5
-rw-r--r--syntax/smcl.vim5
-rw-r--r--syntax/smhl.vim5
-rw-r--r--syntax/smith.vim5
-rw-r--r--syntax/sml.vim5
-rw-r--r--syntax/smt2.vim5
-rw-r--r--syntax/snobol4.vim5
-rw-r--r--syntax/solidity.vim5
-rw-r--r--syntax/spec.vim5
-rw-r--r--syntax/spice.vim5
-rw-r--r--syntax/spup.vim5
-rw-r--r--syntax/spyce.vim5
-rw-r--r--syntax/sql.vim5
-rw-r--r--syntax/sqlj.vim5
-rw-r--r--syntax/sqloracle.vim5
-rw-r--r--syntax/sqr.vim5
-rw-r--r--syntax/squid.vim5
-rw-r--r--syntax/srec.vim5
-rw-r--r--syntax/sshconfig.vim5
-rw-r--r--syntax/sshdconfig.vim5
-rw-r--r--syntax/st.vim5
-rw-r--r--syntax/stata.vim5
-rw-r--r--syntax/stp.vim5
-rw-r--r--syntax/stylus.vim5
-rw-r--r--syntax/sudoers.vim5
-rw-r--r--syntax/svelte.vim5
-rw-r--r--syntax/svg.vim5
-rw-r--r--syntax/svn.vim5
-rw-r--r--syntax/swift.vim5
-rw-r--r--syntax/swiftgyb.vim5
-rw-r--r--syntax/sxhkdrc.vim5
-rw-r--r--syntax/sysctl.vim5
-rw-r--r--syntax/systemd.vim5
-rw-r--r--syntax/systemverilog.vim5
-rw-r--r--syntax/tablegen.vim5
-rw-r--r--syntax/tads.vim5
-rw-r--r--syntax/tags.vim5
-rw-r--r--syntax/tak.vim5
-rw-r--r--syntax/tap.vim5
-rw-r--r--syntax/taskdata.vim5
-rw-r--r--syntax/taskedit.vim5
-rw-r--r--syntax/tcl.vim5
-rw-r--r--syntax/template.vim5
-rw-r--r--syntax/teraterm.vim5
-rw-r--r--syntax/terminfo.vim5
-rw-r--r--syntax/terraform.vim5
-rw-r--r--syntax/tex.vim5
-rw-r--r--syntax/texinfo.vim5
-rw-r--r--syntax/texmf.vim5
-rw-r--r--syntax/textile.vim5
-rw-r--r--syntax/tf.vim5
-rw-r--r--syntax/thrift.vim5
-rw-r--r--syntax/tidy.vim5
-rw-r--r--syntax/tilde.vim5
-rw-r--r--syntax/tli.vim5
-rw-r--r--syntax/tmux.vim5
-rw-r--r--syntax/toml.vim5
-rw-r--r--syntax/tpp.vim5
-rw-r--r--syntax/tptp.vim5
-rw-r--r--syntax/trasys.vim5
-rw-r--r--syntax/treetop.vim5
-rw-r--r--syntax/trustees.vim5
-rw-r--r--syntax/tsalt.vim5
-rw-r--r--syntax/tsscl.vim5
-rw-r--r--syntax/tssgm.vim5
-rw-r--r--syntax/tssop.vim5
-rw-r--r--syntax/tt2.vim5
-rw-r--r--syntax/tt2html.vim5
-rw-r--r--syntax/tt2js.vim5
-rw-r--r--syntax/twig.vim5
-rw-r--r--syntax/typescript.vim5
-rw-r--r--syntax/typescriptreact.vim5
-rw-r--r--syntax/uc.vim5
-rw-r--r--syntax/udevconf.vim5
-rw-r--r--syntax/udevperm.vim5
-rw-r--r--syntax/uil.vim5
-rw-r--r--syntax/unison.vim5
-rw-r--r--syntax/updatedb.vim5
-rw-r--r--syntax/upstart.vim5
-rw-r--r--syntax/upstreamdat.vim5
-rw-r--r--syntax/upstreaminstalllog.vim5
-rw-r--r--syntax/upstreamlog.vim5
-rw-r--r--syntax/usserverlog.vim5
-rw-r--r--syntax/usw2kagtlog.vim5
-rw-r--r--syntax/vala.vim5
-rw-r--r--syntax/vb.vim5
-rw-r--r--syntax/vbnet.vim5
-rw-r--r--syntax/vcl.vim5
-rw-r--r--syntax/velocity.vim5
-rw-r--r--syntax/vera.vim5
-rw-r--r--syntax/verilog.vim5
-rw-r--r--syntax/verilogams.vim5
-rw-r--r--syntax/vgrindefs.vim5
-rw-r--r--syntax/vhdl.vim5
-rw-r--r--syntax/vimgo.vim5
-rw-r--r--syntax/viminfo.vim5
-rw-r--r--syntax/vlang.vim5
-rw-r--r--syntax/vmasm.vim5
-rw-r--r--syntax/voscm.vim5
-rw-r--r--syntax/vrml.vim5
-rw-r--r--syntax/vroom.vim5
-rw-r--r--syntax/vue.vim5
-rw-r--r--syntax/wast.vim5
-rw-r--r--syntax/webmacro.vim5
-rw-r--r--syntax/wget.vim5
-rw-r--r--syntax/winbatch.vim5
-rw-r--r--syntax/wml.vim5
-rw-r--r--syntax/wsh.vim5
-rw-r--r--syntax/wsml.vim5
-rw-r--r--syntax/wvdial.vim5
-rw-r--r--syntax/xdc.vim5
-rw-r--r--syntax/xdefaults.vim5
-rw-r--r--syntax/xf86conf.vim5
-rw-r--r--syntax/xhtml.vim5
-rw-r--r--syntax/xinetd.vim5
-rw-r--r--syntax/xmath.vim5
-rw-r--r--syntax/xml.vim5
-rw-r--r--syntax/xmodmap.vim5
-rw-r--r--syntax/xpm.vim5
-rw-r--r--syntax/xpm2.vim5
-rw-r--r--syntax/xquery.vim5
-rw-r--r--syntax/xs.vim5
-rw-r--r--syntax/xsd.vim5
-rw-r--r--syntax/xsl.vim5
-rw-r--r--syntax/xslt.vim5
-rw-r--r--syntax/yacc.vim5
-rw-r--r--syntax/yaml.vim5
-rw-r--r--syntax/yats.vim5
-rw-r--r--syntax/yats/css.vim5
-rw-r--r--syntax/yats/dom-document.vim5
-rw-r--r--syntax/yats/dom-elem.vim5
-rw-r--r--syntax/yats/dom-event.vim5
-rw-r--r--syntax/yats/dom-form.vim5
-rw-r--r--syntax/yats/dom-node.vim5
-rw-r--r--syntax/yats/dom-storage.vim5
-rw-r--r--syntax/yats/ecma-402.vim5
-rw-r--r--syntax/yats/es6-array.vim5
-rw-r--r--syntax/yats/es6-date.vim5
-rw-r--r--syntax/yats/es6-function.vim5
-rw-r--r--syntax/yats/es6-json.vim5
-rw-r--r--syntax/yats/es6-map.vim5
-rw-r--r--syntax/yats/es6-math.vim5
-rw-r--r--syntax/yats/es6-number.vim5
-rw-r--r--syntax/yats/es6-object.vim5
-rw-r--r--syntax/yats/es6-promise.vim5
-rw-r--r--syntax/yats/es6-proxy.vim5
-rw-r--r--syntax/yats/es6-reflect.vim5
-rw-r--r--syntax/yats/es6-regexp.vim5
-rw-r--r--syntax/yats/es6-set.vim5
-rw-r--r--syntax/yats/es6-string.vim5
-rw-r--r--syntax/yats/es6-symbol.vim5
-rw-r--r--syntax/yats/event.vim5
-rw-r--r--syntax/yats/node.vim5
-rw-r--r--syntax/yats/test.vim5
-rw-r--r--syntax/yats/typescript.vim5
-rw-r--r--syntax/yats/web-blob.vim5
-rw-r--r--syntax/yats/web-console.vim5
-rw-r--r--syntax/yats/web-crypto.vim5
-rw-r--r--syntax/yats/web-encoding.vim5
-rw-r--r--syntax/yats/web-fetch.vim5
-rw-r--r--syntax/yats/web-geo.vim5
-rw-r--r--syntax/yats/web-history.vim5
-rw-r--r--syntax/yats/web-location.vim5
-rw-r--r--syntax/yats/web-navigator.vim5
-rw-r--r--syntax/yats/web-network.vim5
-rw-r--r--syntax/yats/web-payment.vim5
-rw-r--r--syntax/yats/web-service-worker.vim5
-rw-r--r--syntax/yats/web-window.vim5
-rw-r--r--syntax/yats/web-xhr.vim5
-rw-r--r--syntax/yats/web.vim5
-rw-r--r--syntax/z8a.vim5
-rw-r--r--syntax/zephir.vim5
-rw-r--r--syntax/zig.vim5
-rw-r--r--syntax/zimbu.vim5
-rw-r--r--syntax/zir.vim5
-rw-r--r--syntax/zsh.vim5
1227 files changed, 6139 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
diff --git a/compiler/ant.vim b/compiler/ant.vim
index ddb9e746..a893daaa 100644
--- a/compiler/ant.vim
+++ b/compiler/ant.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/ant.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, 'ant') == -1
" Vim Compiler File
diff --git a/compiler/bdf.vim b/compiler/bdf.vim
index 5bdd9477..04903c2c 100644
--- a/compiler/bdf.vim
+++ b/compiler/bdf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/bdf.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, 'bdf') == -1
" Vim compiler file
diff --git a/compiler/cake.vim b/compiler/cake.vim
index 9cd45dbb..3ebcd187 100644
--- a/compiler/cake.vim
+++ b/compiler/cake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/cake.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/compiler/cargo.vim b/compiler/cargo.vim
index a8271361..f33a0a4c 100644
--- a/compiler/cargo.vim
+++ b/compiler/cargo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/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
" Vim compiler file
diff --git a/compiler/coffee.vim b/compiler/coffee.vim
index d4a112c5..8193a4a5 100644
--- a/compiler/coffee.vim
+++ b/compiler/coffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/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/compiler/credo.vim b/compiler/credo.vim
index 271dc67d..5ad1f452 100644
--- a/compiler/credo.vim
+++ b/compiler/credo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/credo.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('current_compiler')
diff --git a/compiler/cryptol.vim b/compiler/cryptol.vim
index d355f188..3dca5026 100644
--- a/compiler/cryptol.vim
+++ b/compiler/cryptol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/cryptol.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, 'cryptol') == -1
" Vim compiler file
diff --git a/compiler/cs.vim b/compiler/cs.vim
index 4e56feeb..feea9751 100644
--- a/compiler/cs.vim
+++ b/compiler/cs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/cs.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, 'cs') == -1
" Vim compiler file
diff --git a/compiler/cucumber.vim b/compiler/cucumber.vim
index af5dd4b6..c0ddbc6d 100644
--- a/compiler/cucumber.vim
+++ b/compiler/cucumber.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/cucumber.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, 'cucumber') == -1
" Vim compiler file
diff --git a/compiler/dot.vim b/compiler/dot.vim
index 30af567d..34be342a 100644
--- a/compiler/dot.vim
+++ b/compiler/dot.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/dot.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, 'dot') == -1
" Vim compiler file
diff --git a/compiler/eruby.vim b/compiler/eruby.vim
index a2957379..5d75d869 100644
--- a/compiler/eruby.vim
+++ b/compiler/eruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/eruby.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 compiler file
diff --git a/compiler/exunit.vim b/compiler/exunit.vim
index 09150683..8f6d3112 100644
--- a/compiler/exunit.vim
+++ b/compiler/exunit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/exunit.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("current_compiler")
diff --git a/compiler/fish.vim b/compiler/fish.vim
index 87abb8bf..797abcc9 100644
--- a/compiler/fish.vim
+++ b/compiler/fish.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/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
if exists('current_compiler')
diff --git a/compiler/go.vim b/compiler/go.vim
index a5528cfe..6a83f3dd 100644
--- a/compiler/go.vim
+++ b/compiler/go.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/go.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
" Copyright 2013 The Go Authors. All rights reserved.
diff --git a/compiler/gradle.vim b/compiler/gradle.vim
index 69fa1bb9..aa5b1917 100644
--- a/compiler/gradle.vim
+++ b/compiler/gradle.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/gradle.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, 'gradle') == -1
" Vim Compiler File
diff --git a/compiler/gradlew.vim b/compiler/gradlew.vim
index 0d08ff3e..932ace2c 100644
--- a/compiler/gradlew.vim
+++ b/compiler/gradlew.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/gradlew.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, 'gradle') == -1
" Vim Compiler File
diff --git a/compiler/haml.vim b/compiler/haml.vim
index e942631f..5593c272 100644
--- a/compiler/haml.vim
+++ b/compiler/haml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/haml.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, 'haml') == -1
" Vim compiler file
diff --git a/compiler/ledger.vim b/compiler/ledger.vim
index 8d441af9..f74a27a2 100644
--- a/compiler/ledger.vim
+++ b/compiler/ledger.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/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
" Vim Compiler File
diff --git a/compiler/lilypond.vim b/compiler/lilypond.vim
index da1dd17c..986c2781 100644
--- a/compiler/lilypond.vim
+++ b/compiler/lilypond.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/lilypond.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, 'lilypond') == -1
" LilyPond compiler file
diff --git a/compiler/ls.vim b/compiler/ls.vim
index 8aed9a68..ab6b1c12 100644
--- a/compiler/ls.vim
+++ b/compiler/ls.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/ls.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, 'livescript') == -1
" Language: LiveScript
diff --git a/compiler/mix.vim b/compiler/mix.vim
index 9bee88e9..13dd1340 100644
--- a/compiler/mix.vim
+++ b/compiler/mix.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/mix.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('current_compiler')
diff --git a/compiler/nim.vim b/compiler/nim.vim
index c849b1e9..b15e7221 100644
--- a/compiler/nim.vim
+++ b/compiler/nim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/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
if exists('current_compiler')
diff --git a/compiler/nix-build.vim b/compiler/nix-build.vim
index 4ef29d28..9766965a 100644
--- a/compiler/nix-build.vim
+++ b/compiler/nix-build.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/nix-build.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, 'nix') == -1
if exists('current_compiler')
diff --git a/compiler/ocaml.vim b/compiler/ocaml.vim
index c8fa745e..ad3186d9 100644
--- a/compiler/ocaml.vim
+++ b/compiler/ocaml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/ocaml.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, 'ocaml') == -1
" Vim Compiler File
diff --git a/compiler/powershell.vim b/compiler/powershell.vim
index 1737a5a5..13e56ddf 100644
--- a/compiler/powershell.vim
+++ b/compiler/powershell.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/powershell.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, 'powershell') == -1
" Compiler: powershell
diff --git a/compiler/python.vim b/compiler/python.vim
index eac2bb84..f453919c 100644
--- a/compiler/python.vim
+++ b/compiler/python.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/python.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
" Vim compiler file
diff --git a/compiler/rake.vim b/compiler/rake.vim
index 12f7b7a0..05fce7bf 100644
--- a/compiler/rake.vim
+++ b/compiler/rake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/rake.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 compiler file
diff --git a/compiler/rspec.vim b/compiler/rspec.vim
index 1f7c132f..7b696c8e 100644
--- a/compiler/rspec.vim
+++ b/compiler/rspec.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/rspec.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 compiler file
diff --git a/compiler/ruby.vim b/compiler/ruby.vim
index abdb6d30..4fe2817f 100644
--- a/compiler/ruby.vim
+++ b/compiler/ruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/ruby.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 compiler file
diff --git a/compiler/rubyunit.vim b/compiler/rubyunit.vim
index c92f3ec8..862de9dc 100644
--- a/compiler/rubyunit.vim
+++ b/compiler/rubyunit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/rubyunit.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 compiler file
diff --git a/compiler/rustc.vim b/compiler/rustc.vim
index 14034ae4..f9da25f2 100644
--- a/compiler/rustc.vim
+++ b/compiler/rustc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/rustc.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
" Vim compiler file
diff --git a/compiler/sass.vim b/compiler/sass.vim
index 8ce9dc84..1f066873 100644
--- a/compiler/sass.vim
+++ b/compiler/sass.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/sass.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, 'sass') == -1
" Vim compiler file
diff --git a/compiler/sbt.vim b/compiler/sbt.vim
index a57f58c9..f6333af5 100644
--- a/compiler/sbt.vim
+++ b/compiler/sbt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/sbt.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, 'scala') == -1
" Vim compiler file
diff --git a/compiler/swift.vim b/compiler/swift.vim
index 5dab34f6..c90b3fa2 100644
--- a/compiler/swift.vim
+++ b/compiler/swift.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/swift.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, 'swift') == -1
" Vim compiler file
diff --git a/compiler/tcl.vim b/compiler/tcl.vim
index 11792a1c..e1d7779e 100644
--- a/compiler/tcl.vim
+++ b/compiler/tcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/tcl.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, 'tcl') == -1
" Vim compiler file
diff --git a/compiler/tex.vim b/compiler/tex.vim
index da14b914..6f974124 100644
--- a/compiler/tex.vim
+++ b/compiler/tex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/tex.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, 'tex') == -1
" Vim compiler file
diff --git a/compiler/tidy.vim b/compiler/tidy.vim
index f13b3664..ba44ce83 100644
--- a/compiler/tidy.vim
+++ b/compiler/tidy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/tidy.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, 'tidy') == -1
" Vim compiler file
diff --git a/compiler/typescript.vim b/compiler/typescript.vim
index 6d158771..e4860092 100644
--- a/compiler/typescript.vim
+++ b/compiler/typescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'compiler/typescript.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, 'typescript') == -1
if exists('current_compiler')
diff --git a/extras/flow.vim b/extras/flow.vim
index 6bbd91f1..5b9db538 100644
--- a/extras/flow.vim
+++ b/extras/flow.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'extras/flow.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
syntax region jsFlowDefinition contained start=/:/ end=/\%(\s*[,=;)\n]\)\@=/ contains=@jsFlowCluster containedin=jsParen
diff --git a/extras/jsdoc.vim b/extras/jsdoc.vim
index bbb0bb57..d65badb2 100644
--- a/extras/jsdoc.vim
+++ b/extras/jsdoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'extras/jsdoc.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
"" syntax coloring for javadoc comments (HTML)
diff --git a/extras/ngdoc.vim b/extras/ngdoc.vim
index 6e38f905..9ef79925 100644
--- a/extras/ngdoc.vim
+++ b/extras/ngdoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'extras/ngdoc.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
syntax match jsDocTags contained /@\(link\|method[oO]f\|ngdoc\|ng[iI]nject\|restrict\)/ nextgroup=jsDocParam skipwhite
diff --git a/ftplugin/8th.vim b/ftplugin/8th.vim
index 29c08c5e..f6877548 100644
--- a/ftplugin/8th.vim
+++ b/ftplugin/8th.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/8th.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, '8th') == -1
" Vim ftplugin file
diff --git a/ftplugin/a2ps.vim b/ftplugin/a2ps.vim
index 1274e83a..052a9fb8 100644
--- a/ftplugin/a2ps.vim
+++ b/ftplugin/a2ps.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/a2ps.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, 'a2ps') == -1
" Vim filetype plugin file
diff --git a/ftplugin/aap.vim b/ftplugin/aap.vim
index d163c5bb..d9f3213c 100644
--- a/ftplugin/aap.vim
+++ b/ftplugin/aap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/aap.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, 'aap') == -1
" Vim filetype plugin file
diff --git a/ftplugin/abap.vim b/ftplugin/abap.vim
index 1c1631c0..0ecefa79 100644
--- a/ftplugin/abap.vim
+++ b/ftplugin/abap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/abap.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, 'abap') == -1
" Vim filetype plugin file
diff --git a/ftplugin/abaqus.vim b/ftplugin/abaqus.vim
index efa42dda..f6d21fa1 100644
--- a/ftplugin/abaqus.vim
+++ b/ftplugin/abaqus.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/abaqus.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, 'abaqus') == -1
" Vim filetype plugin file
diff --git a/ftplugin/ada.vim b/ftplugin/ada.vim
index 59bde0a5..19dbdd20 100644
--- a/ftplugin/ada.vim
+++ b/ftplugin/ada.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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/ftplugin/alsaconf.vim b/ftplugin/alsaconf.vim
index 68ce4a30..5aac50a4 100644
--- a/ftplugin/alsaconf.vim
+++ b/ftplugin/alsaconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/alsaconf.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, 'alsaconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/ansible.vim b/ftplugin/ansible.vim
index 1f83ddf7..32b30474 100644
--- a/ftplugin/ansible.vim
+++ b/ftplugin/ansible.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ansible.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, 'ansible') == -1
set isfname+=@-@
diff --git a/ftplugin/ansible_hosts.vim b/ftplugin/ansible_hosts.vim
index d93acc7c..d93ef6f8 100644
--- a/ftplugin/ansible_hosts.vim
+++ b/ftplugin/ansible_hosts.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ansible_hosts.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, 'ansible') == -1
if exists("b:did_ftplugin")
diff --git a/ftplugin/ant.vim b/ftplugin/ant.vim
index 565815bd..a69d4df0 100644
--- a/ftplugin/ant.vim
+++ b/ftplugin/ant.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ant.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, 'ant') == -1
" Vim filetype plugin file
diff --git a/ftplugin/arch.vim b/ftplugin/arch.vim
index c9e018bc..e674fdb0 100644
--- a/ftplugin/arch.vim
+++ b/ftplugin/arch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/arch.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, 'arch') == -1
" Vim filetype plugin file
diff --git a/ftplugin/art.vim b/ftplugin/art.vim
index ce63ba52..65d411dc 100644
--- a/ftplugin/art.vim
+++ b/ftplugin/art.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/art.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, 'art') == -1
" Vim filetype plugin
diff --git a/ftplugin/aspvbs.vim b/ftplugin/aspvbs.vim
index c2afec5a..6c3c53df 100644
--- a/ftplugin/aspvbs.vim
+++ b/ftplugin/aspvbs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/aspvbs.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, 'aspvbs') == -1
" Vim filetype plugin file
diff --git a/ftplugin/automake.vim b/ftplugin/automake.vim
index 0e853843..f5c92bcc 100644
--- a/ftplugin/automake.vim
+++ b/ftplugin/automake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/automake.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, 'automake') == -1
" Vim filetype plugin file
diff --git a/ftplugin/awk.vim b/ftplugin/awk.vim
index 4425ac47..764edfd9 100644
--- a/ftplugin/awk.vim
+++ b/ftplugin/awk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/awk.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, 'awk') == -1
" Vim filetype plugin
diff --git a/ftplugin/bdf.vim b/ftplugin/bdf.vim
index e18c493c..ae22bf31 100644
--- a/ftplugin/bdf.vim
+++ b/ftplugin/bdf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/bdf.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, 'bdf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/blade.vim b/ftplugin/blade.vim
index e5a5af91..81020de7 100644
--- a/ftplugin/blade.vim
+++ b/ftplugin/blade.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/blade.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, 'blade') == -1
" Vim filetype plugin
diff --git a/ftplugin/bst.vim b/ftplugin/bst.vim
index e4445546..5e49c1bc 100644
--- a/ftplugin/bst.vim
+++ b/ftplugin/bst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/bst.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, 'bst') == -1
" Vim filetype plugin file
diff --git a/ftplugin/bzl.vim b/ftplugin/bzl.vim
index 3abebee9..c65643a4 100644
--- a/ftplugin/bzl.vim
+++ b/ftplugin/bzl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/bzl.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, 'bzl') == -1
" Vim filetype plugin file
diff --git a/ftplugin/caddyfile.vim b/ftplugin/caddyfile.vim
index 8e4bb985..5d480987 100644
--- a/ftplugin/caddyfile.vim
+++ b/ftplugin/caddyfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/caddyfile.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, 'caddyfile') == -1
" Language: Caddyfile
diff --git a/ftplugin/calendar.vim b/ftplugin/calendar.vim
index 1ce0e41d..b5af5c1e 100644
--- a/ftplugin/calendar.vim
+++ b/ftplugin/calendar.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/calendar.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, 'calendar') == -1
" Vim filetype plugin file
diff --git a/ftplugin/cdrdaoconf.vim b/ftplugin/cdrdaoconf.vim
index 8b114fcb..478aaf9d 100644
--- a/ftplugin/cdrdaoconf.vim
+++ b/ftplugin/cdrdaoconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/cdrdaoconf.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, 'cdrdaoconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/cfg.vim b/ftplugin/cfg.vim
index 6b4fb062..472e5240 100644
--- a/ftplugin/cfg.vim
+++ b/ftplugin/cfg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/cfg.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, 'cfg') == -1
" Vim filetype plugin file
diff --git a/ftplugin/ch.vim b/ftplugin/ch.vim
index 71f4870b..5222c5e8 100644
--- a/ftplugin/ch.vim
+++ b/ftplugin/ch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ch.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, 'ch') == -1
" Vim filetype plugin file
diff --git a/ftplugin/clojure.vim b/ftplugin/clojure.vim
index 10278114..c04de2e3 100644
--- a/ftplugin/clojure.vim
+++ b/ftplugin/clojure.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/clojure.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 filetype plugin file
diff --git a/ftplugin/cobol.vim b/ftplugin/cobol.vim
index 45050de2..dec2d8c6 100644
--- a/ftplugin/cobol.vim
+++ b/ftplugin/cobol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/cobol.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, 'cobol') == -1
" Vim filetype plugin file
diff --git a/ftplugin/coffee.vim b/ftplugin/coffee.vim
index 64daa290..86a3e82f 100644
--- a/ftplugin/coffee.vim
+++ b/ftplugin/coffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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/ftplugin/conf.vim b/ftplugin/conf.vim
index 50f87fa7..3e6a4573 100644
--- a/ftplugin/conf.vim
+++ b/ftplugin/conf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/conf.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, 'conf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/config.vim b/ftplugin/config.vim
index d6a4281b..050c6f00 100644
--- a/ftplugin/config.vim
+++ b/ftplugin/config.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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, 'config') == -1
" Vim filetype plugin file
diff --git a/ftplugin/crm.vim b/ftplugin/crm.vim
index f5a6268d..83076461 100644
--- a/ftplugin/crm.vim
+++ b/ftplugin/crm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/crm.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, 'crm') == -1
" Vim filetype plugin file
diff --git a/ftplugin/cryptol/folding.vim b/ftplugin/cryptol/folding.vim
index 210d0573..d516f61f 100644
--- a/ftplugin/cryptol/folding.vim
+++ b/ftplugin/cryptol/folding.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/cryptol/folding.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, 'cryptol') == -1
" Copyright © 2013 Edward O'Callaghan. All Rights Reserved.
diff --git a/ftplugin/crystal.vim b/ftplugin/crystal.vim
index 0a206003..eb8e8974 100644
--- a/ftplugin/crystal.vim
+++ b/ftplugin/crystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
if exists('b:did_ftplugin')
diff --git a/ftplugin/cs.vim b/ftplugin/cs.vim
index 46d26f55..72dbdfe0 100644
--- a/ftplugin/cs.vim
+++ b/ftplugin/cs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/cs.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, 'cs') == -1
" Vim filetype plugin file
diff --git a/ftplugin/csc.vim b/ftplugin/csc.vim
index e992f438..908a027a 100644
--- a/ftplugin/csc.vim
+++ b/ftplugin/csc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/csc.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, 'csc') == -1
" Vim filetype plugin file
diff --git a/ftplugin/css.vim b/ftplugin/css.vim
index 47db09cd..6209091b 100644
--- a/ftplugin/css.vim
+++ b/ftplugin/css.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/css.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, 'css') == -1
" Vim filetype plugin file
diff --git a/ftplugin/csv.vim b/ftplugin/csv.vim
index b5d48dd0..125d06ed 100644
--- a/ftplugin/csv.vim
+++ b/ftplugin/csv.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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/ftplugin/cucumber.vim b/ftplugin/cucumber.vim
index 5d34213b..10254153 100644
--- a/ftplugin/cucumber.vim
+++ b/ftplugin/cucumber.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/cucumber.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, 'cucumber') == -1
" Vim filetype plugin
diff --git a/ftplugin/cvsrc.vim b/ftplugin/cvsrc.vim
index b408fdb1..705787b9 100644
--- a/ftplugin/cvsrc.vim
+++ b/ftplugin/cvsrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/cvsrc.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, 'cvsrc') == -1
" Vim filetype plugin file
diff --git a/ftplugin/dart.vim b/ftplugin/dart.vim
index 69dae68c..147e657d 100644
--- a/ftplugin/dart.vim
+++ b/ftplugin/dart.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
if exists('b:did_ftplugin')
diff --git a/ftplugin/debchangelog.vim b/ftplugin/debchangelog.vim
index 261af91c..355826f7 100644
--- a/ftplugin/debchangelog.vim
+++ b/ftplugin/debchangelog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/debchangelog.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, 'debchangelog') == -1
" Vim filetype plugin file (GUI menu, folding and completion)
diff --git a/ftplugin/debcontrol.vim b/ftplugin/debcontrol.vim
index 47128050..647d5942 100644
--- a/ftplugin/debcontrol.vim
+++ b/ftplugin/debcontrol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/debcontrol.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, 'debcontrol') == -1
" Vim filetype plugin file (GUI menu and folding)
diff --git a/ftplugin/denyhosts.vim b/ftplugin/denyhosts.vim
index 9b5cbba3..3cadf87f 100644
--- a/ftplugin/denyhosts.vim
+++ b/ftplugin/denyhosts.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/denyhosts.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, 'denyhosts') == -1
" Vim filetype plugin file
diff --git a/ftplugin/dhall.vim b/ftplugin/dhall.vim
index 1c524a78..983877c0 100644
--- a/ftplugin/dhall.vim
+++ b/ftplugin/dhall.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dhall.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, 'dhall') == -1
if exists('b:dhall_ftplugin')
diff --git a/ftplugin/dictconf.vim b/ftplugin/dictconf.vim
index 0ac9a9f4..22f10401 100644
--- a/ftplugin/dictconf.vim
+++ b/ftplugin/dictconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dictconf.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, 'dictconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/dictdconf.vim b/ftplugin/dictdconf.vim
index df6226c3..8f229104 100644
--- a/ftplugin/dictdconf.vim
+++ b/ftplugin/dictdconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dictdconf.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, 'dictdconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/diff.vim b/ftplugin/diff.vim
index 8b7d0551..226956ca 100644
--- a/ftplugin/diff.vim
+++ b/ftplugin/diff.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/diff.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, 'diff') == -1
" Vim filetype plugin file
diff --git a/ftplugin/dircolors.vim b/ftplugin/dircolors.vim
index 9e2ef46a..b9b2549e 100644
--- a/ftplugin/dircolors.vim
+++ b/ftplugin/dircolors.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dircolors.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, 'dircolors') == -1
" Vim filetype plugin file
diff --git a/ftplugin/docker-compose.vim b/ftplugin/docker-compose.vim
index e80041e2..8e5c4fd3 100644
--- a/ftplugin/docker-compose.vim
+++ b/ftplugin/docker-compose.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/docker-compose.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, 'docker-compose') == -1
" Define comment string
diff --git a/ftplugin/dockerfile.vim b/ftplugin/dockerfile.vim
index 3780119a..239fd78c 100644
--- a/ftplugin/dockerfile.vim
+++ b/ftplugin/dockerfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dockerfile.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, 'dockerfile') == -1
" Vim filetype plugin
diff --git a/ftplugin/dosbatch.vim b/ftplugin/dosbatch.vim
index b846f4f5..a90f06b7 100644
--- a/ftplugin/dosbatch.vim
+++ b/ftplugin/dosbatch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dosbatch.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, 'dosbatch') == -1
" Vim filetype plugin file
diff --git a/ftplugin/dosini.vim b/ftplugin/dosini.vim
index e0a2ba3d..3e2689c0 100644
--- a/ftplugin/dosini.vim
+++ b/ftplugin/dosini.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dosini.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, 'dosini') == -1
" Vim filetype plugin file
diff --git a/ftplugin/dtd.vim b/ftplugin/dtd.vim
index d2c4876e..71e7535a 100644
--- a/ftplugin/dtd.vim
+++ b/ftplugin/dtd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dtd.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, 'dtd') == -1
" Vim filetype plugin file
diff --git a/ftplugin/dune.vim b/ftplugin/dune.vim
index cce58e5e..6a6a88e9 100644
--- a/ftplugin/dune.vim
+++ b/ftplugin/dune.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/dune.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, 'ocaml') == -1
if exists("b:did_ftplugin")
diff --git a/ftplugin/ecrystal.vim b/ftplugin/ecrystal.vim
index 58ccde5a..0aa94254 100644
--- a/ftplugin/ecrystal.vim
+++ b/ftplugin/ecrystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
" Filetype plugin for https://crystal-lang.org/api/0.35.1/ECR.html
diff --git a/ftplugin/eelixir.vim b/ftplugin/eelixir.vim
index ab8174a9..06b74eec 100644
--- a/ftplugin/eelixir.vim
+++ b/ftplugin/eelixir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/eelixir.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("b:did_ftplugin")
diff --git a/ftplugin/elinks.vim b/ftplugin/elinks.vim
index 8e2611dc..57150b99 100644
--- a/ftplugin/elinks.vim
+++ b/ftplugin/elinks.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/elinks.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, 'elinks') == -1
" Vim filetype plugin file
diff --git a/ftplugin/elixir.vim b/ftplugin/elixir.vim
index e6e0cafa..2889a446 100644
--- a/ftplugin/elixir.vim
+++ b/ftplugin/elixir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/elixir.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('b:did_ftplugin')
diff --git a/ftplugin/embeddedpuppet.vim b/ftplugin/embeddedpuppet.vim
index 50a69ea8..0a3ccf6f 100644
--- a/ftplugin/embeddedpuppet.vim
+++ b/ftplugin/embeddedpuppet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/embeddedpuppet.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
" Vim filetype plugin
diff --git a/ftplugin/ember-script.vim b/ftplugin/ember-script.vim
index 18a0481b..a1436b7b 100644
--- a/ftplugin/ember-script.vim
+++ b/ftplugin/ember-script.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ember-script.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, 'emberscript') == -1
" Language: ember-script
diff --git a/ftplugin/emblem.vim b/ftplugin/emblem.vim
index 54bdc07e..7ddba5c2 100644
--- a/ftplugin/emblem.vim
+++ b/ftplugin/emblem.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/emblem.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, 'emblem') == -1
" Language: emblem
diff --git a/ftplugin/eruby.vim b/ftplugin/eruby.vim
index 342283b0..cd3e8be1 100644
--- a/ftplugin/eruby.vim
+++ b/ftplugin/eruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/eruby.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 filetype plugin
diff --git a/ftplugin/eterm.vim b/ftplugin/eterm.vim
index 3211c867..33fa42f6 100644
--- a/ftplugin/eterm.vim
+++ b/ftplugin/eterm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/eterm.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, 'eterm') == -1
" Vim filetype plugin file
diff --git a/ftplugin/falcon.vim b/ftplugin/falcon.vim
index defc4cbe..c1095b58 100644
--- a/ftplugin/falcon.vim
+++ b/ftplugin/falcon.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/falcon.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, 'falcon') == -1
" Vim filetype plugin file
diff --git a/ftplugin/fennel.vim b/ftplugin/fennel.vim
index 1fba74f1..3dc46a7b 100644
--- a/ftplugin/fennel.vim
+++ b/ftplugin/fennel.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/fennel.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, 'fennel') == -1
" Vim filetype plugin file
diff --git a/ftplugin/fetchmail.vim b/ftplugin/fetchmail.vim
index 2001caad..a9d2abc9 100644
--- a/ftplugin/fetchmail.vim
+++ b/ftplugin/fetchmail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/fetchmail.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, 'fetchmail') == -1
" Vim filetype plugin file
diff --git a/ftplugin/fish.vim b/ftplugin/fish.vim
index 393b84e4..85bae2dc 100644
--- a/ftplugin/fish.vim
+++ b/ftplugin/fish.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
setlocal comments=:#
diff --git a/ftplugin/fortran.vim b/ftplugin/fortran.vim
index efbc2884..ca1e4ab4 100644
--- a/ftplugin/fortran.vim
+++ b/ftplugin/fortran.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/fortran.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, 'fortran') == -1
" Vim settings file
diff --git a/ftplugin/framescript.vim b/ftplugin/framescript.vim
index aa56a7b7..48dd0d66 100644
--- a/ftplugin/framescript.vim
+++ b/ftplugin/framescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/framescript.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, 'framescript') == -1
" Vim ftplugin file
diff --git a/ftplugin/fvwm.vim b/ftplugin/fvwm.vim
index 76ba9196..ad662455 100644
--- a/ftplugin/fvwm.vim
+++ b/ftplugin/fvwm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/fvwm.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, 'fvwm') == -1
" Created : Tue 09 May 2006 02:07:31 PM CDT
diff --git a/ftplugin/gdb.vim b/ftplugin/gdb.vim
index abfa3208..49606b74 100644
--- a/ftplugin/gdb.vim
+++ b/ftplugin/gdb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/gdb.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, 'gdb') == -1
" Vim filetype plugin file
diff --git a/ftplugin/git.vim b/ftplugin/git.vim
index 0137f594..b5401255 100644
--- a/ftplugin/git.vim
+++ b/ftplugin/git.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/git.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, 'git') == -1
" Vim filetype plugin
diff --git a/ftplugin/gitcommit.vim b/ftplugin/gitcommit.vim
index e8810c4f..a770f911 100644
--- a/ftplugin/gitcommit.vim
+++ b/ftplugin/gitcommit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/gitcommit.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, 'git') == -1
" Vim filetype plugin
diff --git a/ftplugin/gitconfig.vim b/ftplugin/gitconfig.vim
index 2cb8d97f..7d333642 100644
--- a/ftplugin/gitconfig.vim
+++ b/ftplugin/gitconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/gitconfig.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, 'git') == -1
" Vim filetype plugin
diff --git a/ftplugin/gitignore.vim b/ftplugin/gitignore.vim
index d8cbadc5..09e7a5ed 100644
--- a/ftplugin/gitignore.vim
+++ b/ftplugin/gitignore.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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/ftplugin/gitrebase.vim b/ftplugin/gitrebase.vim
index 27213988..c471e505 100644
--- a/ftplugin/gitrebase.vim
+++ b/ftplugin/gitrebase.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/gitrebase.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, 'git') == -1
" Vim filetype plugin
diff --git a/ftplugin/gitsendemail.vim b/ftplugin/gitsendemail.vim
index e13b3ca9..38fe9a94 100644
--- a/ftplugin/gitsendemail.vim
+++ b/ftplugin/gitsendemail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/gitsendemail.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, 'git') == -1
" Vim filetype plugin
diff --git a/ftplugin/gpg.vim b/ftplugin/gpg.vim
index d7519924..bcac352d 100644
--- a/ftplugin/gpg.vim
+++ b/ftplugin/gpg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/gpg.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, 'gpg') == -1
" Vim filetype plugin file
diff --git a/ftplugin/graphql.vim b/ftplugin/graphql.vim
index 524be44c..5a4aabb5 100644
--- a/ftplugin/graphql.vim
+++ b/ftplugin/graphql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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/ftplugin/groovy.vim b/ftplugin/groovy.vim
index ad78164c..5ad1d552 100644
--- a/ftplugin/groovy.vim
+++ b/ftplugin/groovy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/groovy.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, 'groovy') == -1
" Vim filetype plugin file
diff --git a/ftplugin/group.vim b/ftplugin/group.vim
index 5f0b4d90..82a90570 100644
--- a/ftplugin/group.vim
+++ b/ftplugin/group.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/group.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, 'group') == -1
" Vim filetype plugin file
diff --git a/ftplugin/grub.vim b/ftplugin/grub.vim
index 03df3729..2e91a311 100644
--- a/ftplugin/grub.vim
+++ b/ftplugin/grub.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/grub.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, 'grub') == -1
" Vim filetype plugin file
diff --git a/ftplugin/haml.vim b/ftplugin/haml.vim
index ca5655ec..c5b216e5 100644
--- a/ftplugin/haml.vim
+++ b/ftplugin/haml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/haml.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, 'haml') == -1
" Vim filetype plugin
diff --git a/ftplugin/hamster.vim b/ftplugin/hamster.vim
index ad5fe0d3..c89527b6 100644
--- a/ftplugin/hamster.vim
+++ b/ftplugin/hamster.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/hamster.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, 'hamster') == -1
" Vim filetype plugin
diff --git a/ftplugin/handlebars.vim b/ftplugin/handlebars.vim
index 649984aa..ef56d4c1 100644
--- a/ftplugin/handlebars.vim
+++ b/ftplugin/handlebars.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/handlebars.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, 'handlebars') == -1
if exists('b:loaded_mustache_handlebars')
diff --git a/ftplugin/hcl.vim b/ftplugin/hcl.vim
index c4b44e24..f7e9a57a 100644
--- a/ftplugin/hcl.vim
+++ b/ftplugin/hcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/hcl.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, 'hcl') == -1
" File: ftplugin/hcl.vim
diff --git a/ftplugin/help.vim b/ftplugin/help.vim
index bb6d43e8..92fc165c 100644
--- a/ftplugin/help.vim
+++ b/ftplugin/help.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/help.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, 'help') == -1
" Vim filetype plugin file
diff --git a/ftplugin/hgcommit.vim b/ftplugin/hgcommit.vim
index 16c92796..6c449321 100644
--- a/ftplugin/hgcommit.vim
+++ b/ftplugin/hgcommit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/hgcommit.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, 'hgcommit') == -1
" Vim filetype plugin file
diff --git a/ftplugin/hive.vim b/ftplugin/hive.vim
index dc950624..a95a17ad 100644
--- a/ftplugin/hive.vim
+++ b/ftplugin/hive.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/hive.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, 'hive') == -1
setlocal comments=:--
diff --git a/ftplugin/hog.vim b/ftplugin/hog.vim
index b0541a39..bd0ef9ff 100644
--- a/ftplugin/hog.vim
+++ b/ftplugin/hog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/hog.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, 'hog') == -1
" Vim filetype plugin
diff --git a/ftplugin/hostconf.vim b/ftplugin/hostconf.vim
index a6a9a840..72b955bd 100644
--- a/ftplugin/hostconf.vim
+++ b/ftplugin/hostconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/hostconf.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, 'hostconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/hostsaccess.vim b/ftplugin/hostsaccess.vim
index 36a67e90..72434da3 100644
--- a/ftplugin/hostsaccess.vim
+++ b/ftplugin/hostsaccess.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/hostsaccess.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, 'hostsaccess') == -1
" Vim filetype plugin file
diff --git a/ftplugin/html.vim b/ftplugin/html.vim
index d65502be..f78f9d77 100644
--- a/ftplugin/html.vim
+++ b/ftplugin/html.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/html.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, 'html') == -1
" Vim filetype plugin file
diff --git a/ftplugin/htmldjango.vim b/ftplugin/htmldjango.vim
index 55489c0f..92ca3fe4 100644
--- a/ftplugin/htmldjango.vim
+++ b/ftplugin/htmldjango.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/htmldjango.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, 'htmldjango') == -1
" Vim filetype plugin file
diff --git a/ftplugin/i3config.vim b/ftplugin/i3config.vim
index dbb95e33..628d01ce 100644
--- a/ftplugin/i3config.vim
+++ b/ftplugin/i3config.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/i3config.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, 'i3') == -1
setlocal commentstring=#\ %s
diff --git a/ftplugin/idris.vim b/ftplugin/idris.vim
index ae46bedd..454591a5 100644
--- a/ftplugin/idris.vim
+++ b/ftplugin/idris.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/idris.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, 'idris') == -1
if bufname('%') == "idris-response"
diff --git a/ftplugin/idris2.vim b/ftplugin/idris2.vim
index 420bc52d..7e39f23e 100644
--- a/ftplugin/idris2.vim
+++ b/ftplugin/idris2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/idris2.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, 'idris2') == -1
if bufname('%') == "idris-response"
diff --git a/ftplugin/indent.vim b/ftplugin/indent.vim
index c4c1ab4a..f426b9b3 100644
--- a/ftplugin/indent.vim
+++ b/ftplugin/indent.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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, 'indent') == -1
" Vim filetype plugin file
diff --git a/ftplugin/ion.vim b/ftplugin/ion.vim
index 88bb5238..c6cfd8a5 100644
--- a/ftplugin/ion.vim
+++ b/ftplugin/ion.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ion.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, 'ion') == -1
diff --git a/ftplugin/j.vim b/ftplugin/j.vim
index 0d8ef152..9dd87d9d 100644
--- a/ftplugin/j.vim
+++ b/ftplugin/j.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/j.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, 'j') == -1
" Vim filetype plugin
diff --git a/ftplugin/java.vim b/ftplugin/java.vim
index e41d53e0..97a4af13 100644
--- a/ftplugin/java.vim
+++ b/ftplugin/java.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/java.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, 'java') == -1
" Vim filetype plugin file
diff --git a/ftplugin/jproperties.vim b/ftplugin/jproperties.vim
index a9cf4e62..f9c282c1 100644
--- a/ftplugin/jproperties.vim
+++ b/ftplugin/jproperties.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/jproperties.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, 'jproperties') == -1
" Vim filetype plugin
diff --git a/ftplugin/jq.vim b/ftplugin/jq.vim
index 0e7a3a54..2fd91c55 100644
--- a/ftplugin/jq.vim
+++ b/ftplugin/jq.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/jq.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, 'jq') == -1
setlocal commentstring=#%s
diff --git a/ftplugin/json.vim b/ftplugin/json.vim
index 2d51fbd7..682f24e9 100644
--- a/ftplugin/json.vim
+++ b/ftplugin/json.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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, 'json') == -1
" Vim syntax file
diff --git a/ftplugin/jsonnet.vim b/ftplugin/jsonnet.vim
index 41fa83ff..b18fb7d4 100644
--- a/ftplugin/jsonnet.vim
+++ b/ftplugin/jsonnet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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/ftplugin/jsp.vim b/ftplugin/jsp.vim
index 091e359a..c5eb1ae7 100644
--- a/ftplugin/jsp.vim
+++ b/ftplugin/jsp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/jsp.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, 'jsp') == -1
" Vim filetype plugin file
diff --git a/ftplugin/julia.vim b/ftplugin/julia.vim
index 554f9151..96aaca5b 100644
--- a/ftplugin/julia.vim
+++ b/ftplugin/julia.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
" Vim filetype plugin file
diff --git a/ftplugin/juliadoc.vim b/ftplugin/juliadoc.vim
index 2d9e2168..66c7f556 100644
--- a/ftplugin/juliadoc.vim
+++ b/ftplugin/juliadoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/juliadoc.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
" Vim filetype plugin file
diff --git a/ftplugin/kconfig.vim b/ftplugin/kconfig.vim
index b106b3d9..f25135f4 100644
--- a/ftplugin/kconfig.vim
+++ b/ftplugin/kconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/kconfig.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, 'kconfig') == -1
" Vim filetype plugin file
diff --git a/ftplugin/kotlin.vim b/ftplugin/kotlin.vim
index f9cc4303..9c85505f 100644
--- a/ftplugin/kotlin.vim
+++ b/ftplugin/kotlin.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/kotlin.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, 'kotlin') == -1
if exists('b:did_ftplugin') | finish | endif
diff --git a/ftplugin/kwt.vim b/ftplugin/kwt.vim
index 5bc89215..152b8903 100644
--- a/ftplugin/kwt.vim
+++ b/ftplugin/kwt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/kwt.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, 'kwt') == -1
" Vim filetype plugin file
diff --git a/ftplugin/ld.vim b/ftplugin/ld.vim
index bd9723f4..3a6d6647 100644
--- a/ftplugin/ld.vim
+++ b/ftplugin/ld.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ld.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, 'ld') == -1
" Vim filetype plugin file
diff --git a/ftplugin/less.vim b/ftplugin/less.vim
index 2a8ff172..eb9d5b84 100644
--- a/ftplugin/less.vim
+++ b/ftplugin/less.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/less.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, 'less') == -1
" Vim filetype plugin
diff --git a/ftplugin/lftp.vim b/ftplugin/lftp.vim
index f9e0be86..a3ee81a8 100644
--- a/ftplugin/lftp.vim
+++ b/ftplugin/lftp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/lftp.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, 'lftp') == -1
" Vim filetype plugin file
diff --git a/ftplugin/libao.vim b/ftplugin/libao.vim
index d6d6e660..cf3469a5 100644
--- a/ftplugin/libao.vim
+++ b/ftplugin/libao.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/libao.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, 'libao') == -1
" Vim filetype plugin file
diff --git a/ftplugin/lilypond.vim b/ftplugin/lilypond.vim
index 9debb532..f8462fa3 100644
--- a/ftplugin/lilypond.vim
+++ b/ftplugin/lilypond.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/lilypond.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, 'lilypond') == -1
" LilyPond filetype plugin
diff --git a/ftplugin/limits.vim b/ftplugin/limits.vim
index 873f9341..6dec8a52 100644
--- a/ftplugin/limits.vim
+++ b/ftplugin/limits.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/limits.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, 'limits') == -1
" Vim filetype plugin file
diff --git a/ftplugin/liquid.vim b/ftplugin/liquid.vim
index 5ffbade6..c7e42872 100644
--- a/ftplugin/liquid.vim
+++ b/ftplugin/liquid.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/liquid.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, 'liquid') == -1
" Vim filetype plugin
diff --git a/ftplugin/lisp.vim b/ftplugin/lisp.vim
index eaae2795..8de27ece 100644
--- a/ftplugin/lisp.vim
+++ b/ftplugin/lisp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/lisp.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, 'lisp') == -1
" Vim filetype plugin
diff --git a/ftplugin/litcoffee.vim b/ftplugin/litcoffee.vim
index 31284a8d..f0c84c70 100644
--- a/ftplugin/litcoffee.vim
+++ b/ftplugin/litcoffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/litcoffee.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
runtime ftplugin/coffee.vim
diff --git a/ftplugin/llvm.vim b/ftplugin/llvm.vim
index a7b93e7b..109dbb51 100644
--- a/ftplugin/llvm.vim
+++ b/ftplugin/llvm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/llvm.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, 'llvm') == -1
" Vim filetype plugin file
diff --git a/ftplugin/logcheck.vim b/ftplugin/logcheck.vim
index 1c1d8510..1dbcf551 100644
--- a/ftplugin/logcheck.vim
+++ b/ftplugin/logcheck.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/logcheck.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, 'logcheck') == -1
" Vim filetype plugin file
diff --git a/ftplugin/loginaccess.vim b/ftplugin/loginaccess.vim
index e19e9d8d..c2850aed 100644
--- a/ftplugin/loginaccess.vim
+++ b/ftplugin/loginaccess.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/loginaccess.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, 'loginaccess') == -1
" Vim filetype plugin file
diff --git a/ftplugin/logindefs.vim b/ftplugin/logindefs.vim
index be22441f..c917bfb6 100644
--- a/ftplugin/logindefs.vim
+++ b/ftplugin/logindefs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/logindefs.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, 'logindefs') == -1
" Vim filetype plugin file
diff --git a/ftplugin/logtalk.vim b/ftplugin/logtalk.vim
index 2b79723f..6310b4c4 100644
--- a/ftplugin/logtalk.vim
+++ b/ftplugin/logtalk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/logtalk.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, 'logtalk') == -1
" Logtalk filetype plugin file
diff --git a/ftplugin/lprolog.vim b/ftplugin/lprolog.vim
index 8f465460..edf3c23e 100644
--- a/ftplugin/lprolog.vim
+++ b/ftplugin/lprolog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/lprolog.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, 'lprolog') == -1
" Vim settings file
diff --git a/ftplugin/ls.vim b/ftplugin/ls.vim
index 5f9af33d..87eee4ba 100644
--- a/ftplugin/ls.vim
+++ b/ftplugin/ls.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ls.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, 'livescript') == -1
" Language: LiveScript
diff --git a/ftplugin/m4.vim b/ftplugin/m4.vim
index 16479d43..12c53b2f 100644
--- a/ftplugin/m4.vim
+++ b/ftplugin/m4.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/m4.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, 'm4') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mail.vim b/ftplugin/mail.vim
index b3d7f5b9..567bb6f0 100644
--- a/ftplugin/mail.vim
+++ b/ftplugin/mail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mail.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, 'mail') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mailaliases.vim b/ftplugin/mailaliases.vim
index ac7466cc..9ac29c76 100644
--- a/ftplugin/mailaliases.vim
+++ b/ftplugin/mailaliases.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mailaliases.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, 'mailaliases') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mailcap.vim b/ftplugin/mailcap.vim
index fca0215b..5da2d957 100644
--- a/ftplugin/mailcap.vim
+++ b/ftplugin/mailcap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mailcap.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, 'mailcap') == -1
" Vim filetype plugin file
diff --git a/ftplugin/make.vim b/ftplugin/make.vim
index 18d69dc8..635c8126 100644
--- a/ftplugin/make.vim
+++ b/ftplugin/make.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/make.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, 'make') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mako.vim b/ftplugin/mako.vim
index 6d63492b..a25fedf2 100644
--- a/ftplugin/mako.vim
+++ b/ftplugin/mako.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mako.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, 'mako') == -1
" Vim filetype plugin file
diff --git a/ftplugin/manconf.vim b/ftplugin/manconf.vim
index cfe01594..255f4f32 100644
--- a/ftplugin/manconf.vim
+++ b/ftplugin/manconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/manconf.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, 'manconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/markdown.vim b/ftplugin/markdown.vim
index 53e94872..2936ac00 100644
--- a/ftplugin/markdown.vim
+++ b/ftplugin/markdown.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/markdown.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, 'markdown') == -1
"TODO print messages when on visual mode. I only see VISUAL, not the messages.
diff --git a/ftplugin/meson.vim b/ftplugin/meson.vim
index a187d100..eb3105b5 100644
--- a/ftplugin/meson.vim
+++ b/ftplugin/meson.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/meson.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, 'meson') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mf.vim b/ftplugin/mf.vim
index 1a005d66..4f63dc03 100644
--- a/ftplugin/mf.vim
+++ b/ftplugin/mf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mf.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, 'mf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mma.vim b/ftplugin/mma.vim
index 4a2581eb..b22ce1c9 100644
--- a/ftplugin/mma.vim
+++ b/ftplugin/mma.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mma.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, 'mathematica') == -1
"Vim filetype plugin
diff --git a/ftplugin/modconf.vim b/ftplugin/modconf.vim
index 07ea1669..bf73a0cc 100644
--- a/ftplugin/modconf.vim
+++ b/ftplugin/modconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/modconf.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, 'modconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/moon.vim b/ftplugin/moon.vim
index a4eca9a5..09e9c7bc 100644
--- a/ftplugin/moon.vim
+++ b/ftplugin/moon.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/moon.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, 'moonscript') == -1
" Language: MoonScript
diff --git a/ftplugin/mp.vim b/ftplugin/mp.vim
index a13f5cff..2cf65bb1 100644
--- a/ftplugin/mp.vim
+++ b/ftplugin/mp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mp.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, 'mp') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mplayerconf.vim b/ftplugin/mplayerconf.vim
index b3587bdc..a251ebf2 100644
--- a/ftplugin/mplayerconf.vim
+++ b/ftplugin/mplayerconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mplayerconf.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, 'mplayerconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/mrxvtrc.vim b/ftplugin/mrxvtrc.vim
index bf73b0e4..bfe04c1c 100644
--- a/ftplugin/mrxvtrc.vim
+++ b/ftplugin/mrxvtrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mrxvtrc.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, 'mrxvtrc') == -1
" Created : Wed 26 Apr 2006 01:20:53 AM CDT
diff --git a/ftplugin/mustache.vim b/ftplugin/mustache.vim
index 7ca19b76..349ec236 100644
--- a/ftplugin/mustache.vim
+++ b/ftplugin/mustache.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/mustache.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, 'handlebars') == -1
runtime! ftplugin/handlebars*.vim ftplugin/handlebars/*.vim
diff --git a/ftplugin/muttrc.vim b/ftplugin/muttrc.vim
index 1d77a63f..ebe86806 100644
--- a/ftplugin/muttrc.vim
+++ b/ftplugin/muttrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/muttrc.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, 'muttrc') == -1
" Vim filetype plugin file
diff --git a/ftplugin/nanorc.vim b/ftplugin/nanorc.vim
index a116e318..1363191c 100644
--- a/ftplugin/nanorc.vim
+++ b/ftplugin/nanorc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/nanorc.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, 'nanorc') == -1
" Vim filetype plugin file
diff --git a/ftplugin/neomuttrc.vim b/ftplugin/neomuttrc.vim
index 660931d0..a63769cb 100644
--- a/ftplugin/neomuttrc.vim
+++ b/ftplugin/neomuttrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/neomuttrc.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, 'neomuttrc') == -1
" Vim filetype plugin file
diff --git a/ftplugin/netrc.vim b/ftplugin/netrc.vim
index 75f5ff7f..071362e4 100644
--- a/ftplugin/netrc.vim
+++ b/ftplugin/netrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/netrc.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, 'netrc') == -1
" Vim filetype plugin file
diff --git a/ftplugin/nginx.vim b/ftplugin/nginx.vim
index 1ae40849..13a50b2a 100644
--- a/ftplugin/nginx.vim
+++ b/ftplugin/nginx.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/nginx.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, 'nginx') == -1
setlocal commentstring=#\ %s
diff --git a/ftplugin/nix.vim b/ftplugin/nix.vim
index c3e745a9..7863be6d 100644
--- a/ftplugin/nix.vim
+++ b/ftplugin/nix.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/nix.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, 'nix') == -1
" Vim filetype plugin
diff --git a/ftplugin/nroff.vim b/ftplugin/nroff.vim
index 2d040e3a..091fb018 100644
--- a/ftplugin/nroff.vim
+++ b/ftplugin/nroff.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/nroff.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, 'nroff') == -1
" Vim filetype plugin
diff --git a/ftplugin/nsis.vim b/ftplugin/nsis.vim
index 8820f066..edbe9192 100644
--- a/ftplugin/nsis.vim
+++ b/ftplugin/nsis.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/nsis.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, 'nsis') == -1
" Vim ftplugin file
diff --git a/ftplugin/oasis.vim b/ftplugin/oasis.vim
index 850889eb..0b2150d5 100644
--- a/ftplugin/oasis.vim
+++ b/ftplugin/oasis.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/oasis.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, 'ocaml') == -1
diff --git a/ftplugin/objc.vim b/ftplugin/objc.vim
index ed76e4bd..909a1442 100644
--- a/ftplugin/objc.vim
+++ b/ftplugin/objc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/objc.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, 'objc') == -1
" Use C++ style comment strings with commentary.vim
diff --git a/ftplugin/ocaml.vim b/ftplugin/ocaml.vim
index 87ad6fa6..1c92e7d9 100644
--- a/ftplugin/ocaml.vim
+++ b/ftplugin/ocaml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ocaml.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, 'ocaml') == -1
" Language: OCaml
diff --git a/ftplugin/ocamlbuild_tags.vim b/ftplugin/ocamlbuild_tags.vim
index 850889eb..373ee28f 100644
--- a/ftplugin/ocamlbuild_tags.vim
+++ b/ftplugin/ocamlbuild_tags.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ocamlbuild_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, 'ocaml') == -1
diff --git a/ftplugin/occam.vim b/ftplugin/occam.vim
index c428c13b..e5bf6b85 100644
--- a/ftplugin/occam.vim
+++ b/ftplugin/occam.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/occam.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, 'occam') == -1
" Vim filetype plugin file
diff --git a/ftplugin/omake.vim b/ftplugin/omake.vim
index 656cc6a9..c78d15d0 100644
--- a/ftplugin/omake.vim
+++ b/ftplugin/omake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/omake.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, 'ocaml') == -1
" Vim filetype plugin file
diff --git a/ftplugin/opencl.vim b/ftplugin/opencl.vim
index c9fa5673..39416e67 100644
--- a/ftplugin/opencl.vim
+++ b/ftplugin/opencl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/opencl.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, 'opencl') == -1
if exists("b:did_ftplugin") | finish | endif
diff --git a/ftplugin/pamconf.vim b/ftplugin/pamconf.vim
index e8925de4..7628224b 100644
--- a/ftplugin/pamconf.vim
+++ b/ftplugin/pamconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/pamconf.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, 'pamconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/pascal.vim b/ftplugin/pascal.vim
index f026da08..f33a1946 100644
--- a/ftplugin/pascal.vim
+++ b/ftplugin/pascal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/pascal.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, 'pascal') == -1
" Vim filetype plugin file
diff --git a/ftplugin/passwd.vim b/ftplugin/passwd.vim
index d1375872..2e3ff220 100644
--- a/ftplugin/passwd.vim
+++ b/ftplugin/passwd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/passwd.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, 'passwd') == -1
" Vim filetype plugin file
diff --git a/ftplugin/pdf.vim b/ftplugin/pdf.vim
index 12dbc603..d2acbeaf 100644
--- a/ftplugin/pdf.vim
+++ b/ftplugin/pdf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/pdf.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, 'pdf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/perl.vim b/ftplugin/perl.vim
index b0eaf1ba..e95319cc 100644
--- a/ftplugin/perl.vim
+++ b/ftplugin/perl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/perl.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, 'perl') == -1
" Vim filetype plugin file
diff --git a/ftplugin/pinfo.vim b/ftplugin/pinfo.vim
index 1fbcab16..d76a1fed 100644
--- a/ftplugin/pinfo.vim
+++ b/ftplugin/pinfo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/pinfo.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, 'pinfo') == -1
" Vim filetype plugin file
diff --git a/ftplugin/plantuml.vim b/ftplugin/plantuml.vim
index 9db919de..acfd5e03 100644
--- a/ftplugin/plantuml.vim
+++ b/ftplugin/plantuml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/plantuml.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, 'plantuml') == -1
scriptencoding utf-8
diff --git a/ftplugin/pony.vim b/ftplugin/pony.vim
index df726643..bf1311f8 100644
--- a/ftplugin/pony.vim
+++ b/ftplugin/pony.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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 filetype plugin file
diff --git a/ftplugin/postscr.vim b/ftplugin/postscr.vim
index 7730cdc8..5539b765 100644
--- a/ftplugin/postscr.vim
+++ b/ftplugin/postscr.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/postscr.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, 'postscr') == -1
" Vim filetype plugin file
diff --git a/ftplugin/procmail.vim b/ftplugin/procmail.vim
index 7bc335d7..38126994 100644
--- a/ftplugin/procmail.vim
+++ b/ftplugin/procmail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/procmail.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, 'procmail') == -1
" Vim filetype plugin file
diff --git a/ftplugin/prolog.vim b/ftplugin/prolog.vim
index bd813dce..1b92ed90 100644
--- a/ftplugin/prolog.vim
+++ b/ftplugin/prolog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/prolog.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, 'prolog') == -1
" Vim filetype plugin file
diff --git a/ftplugin/protocols.vim b/ftplugin/protocols.vim
index 293bc6c2..fa268d39 100644
--- a/ftplugin/protocols.vim
+++ b/ftplugin/protocols.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/protocols.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, 'protocols') == -1
" Vim filetype plugin file
diff --git a/ftplugin/ps1.vim b/ftplugin/ps1.vim
index f14a31eb..5d1622c8 100644
--- a/ftplugin/ps1.vim
+++ b/ftplugin/ps1.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ps1.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, 'powershell') == -1
" Vim filetype plugin file
diff --git a/ftplugin/ps1xml.vim b/ftplugin/ps1xml.vim
index a0233fd8..a859e919 100644
--- a/ftplugin/ps1xml.vim
+++ b/ftplugin/ps1xml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ps1xml.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, 'powershell') == -1
" Vim filetype plugin file
diff --git a/ftplugin/pug.vim b/ftplugin/pug.vim
index 1bd08b39..7b58b2ed 100644
--- a/ftplugin/pug.vim
+++ b/ftplugin/pug.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/pug.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, 'pug') == -1
" Vim filetype plugin
diff --git a/ftplugin/puppet.vim b/ftplugin/puppet.vim
index 53247958..0b9bd72d 100644
--- a/ftplugin/puppet.vim
+++ b/ftplugin/puppet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/puppet.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
" Vim filetype plugin
diff --git a/ftplugin/puppet_tagbar.vim b/ftplugin/puppet_tagbar.vim
index 36772da7..68240b51 100644
--- a/ftplugin/puppet_tagbar.vim
+++ b/ftplugin/puppet_tagbar.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/puppet_tagbar.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
" Puppet set up for Tagbar plugin
diff --git a/ftplugin/purescript.vim b/ftplugin/purescript.vim
index dba11b3b..96be330b 100644
--- a/ftplugin/purescript.vim
+++ b/ftplugin/purescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/purescript.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, 'purescript') == -1
setlocal comments=s1fl:{-,mb:\ \ ,ex:-},:--\ \|,:--
diff --git a/ftplugin/pyrex.vim b/ftplugin/pyrex.vim
index 62b8e2ae..02b10684 100644
--- a/ftplugin/pyrex.vim
+++ b/ftplugin/pyrex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/pyrex.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, 'pyrex') == -1
" Vim filetype plugin file
diff --git a/ftplugin/qml.vim b/ftplugin/qml.vim
index f4a96fa6..e61e983c 100644
--- a/ftplugin/qml.vim
+++ b/ftplugin/qml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/qml.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, 'qml') == -1
" Vim filetype plugin file
diff --git a/ftplugin/quake.vim b/ftplugin/quake.vim
index bab3eca1..44e8f4f3 100644
--- a/ftplugin/quake.vim
+++ b/ftplugin/quake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/quake.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, 'quake') == -1
" Vim filetype plugin file
diff --git a/ftplugin/racket.vim b/ftplugin/racket.vim
index 1a3ba189..caf377cd 100644
--- a/ftplugin/racket.vim
+++ b/ftplugin/racket.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/racket.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, 'racket') == -1
" Language: Racket
diff --git a/ftplugin/raku.vim b/ftplugin/raku.vim
index dee6197e..c16c536e 100644
--- a/ftplugin/raku.vim
+++ b/ftplugin/raku.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/raku.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, 'raku') == -1
" Vim filetype plugin file
diff --git a/ftplugin/raml.vim b/ftplugin/raml.vim
index b7cef80e..7c83588e 100644
--- a/ftplugin/raml.vim
+++ b/ftplugin/raml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/raml.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, 'raml') == -1
set ts=2 sts=2 sw=2 et
diff --git a/ftplugin/razor.vim b/ftplugin/razor.vim
index 2d516bfc..8e6c86a5 100644
--- a/ftplugin/razor.vim
+++ b/ftplugin/razor.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/razor.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, 'razor') == -1
if exists("b:did_ftplugin")
diff --git a/ftplugin/readline.vim b/ftplugin/readline.vim
index 042f4b6b..afb4d3a8 100644
--- a/ftplugin/readline.vim
+++ b/ftplugin/readline.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/readline.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, 'readline') == -1
" Vim filetype plugin file
diff --git a/ftplugin/reva.vim b/ftplugin/reva.vim
index 5fe5f59f..52665d59 100644
--- a/ftplugin/reva.vim
+++ b/ftplugin/reva.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/reva.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, 'reva') == -1
" Vim ftplugin file
diff --git a/ftplugin/rmd.vim b/ftplugin/rmd.vim
index 32fcc961..e62efad6 100644
--- a/ftplugin/rmd.vim
+++ b/ftplugin/rmd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/rmd.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, 'rmd') == -1
" Vim filetype plugin file
diff --git a/ftplugin/rnc.vim b/ftplugin/rnc.vim
index 78f30817..0ede84a3 100644
--- a/ftplugin/rnc.vim
+++ b/ftplugin/rnc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/rnc.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, 'rnc') == -1
" Vim filetype plugin file
diff --git a/ftplugin/rnoweb.vim b/ftplugin/rnoweb.vim
index 1253c451..c04a9dc2 100644
--- a/ftplugin/rnoweb.vim
+++ b/ftplugin/rnoweb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/rnoweb.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, 'rnoweb') == -1
" Vim filetype plugin file
diff --git a/ftplugin/rpl.vim b/ftplugin/rpl.vim
index bfefa15a..011bd945 100644
--- a/ftplugin/rpl.vim
+++ b/ftplugin/rpl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/rpl.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, 'rpl') == -1
" Vim filetype plugin file
diff --git a/ftplugin/rrst.vim b/ftplugin/rrst.vim
index 7ddc0fc7..95945a63 100644
--- a/ftplugin/rrst.vim
+++ b/ftplugin/rrst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/rrst.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, 'rrst') == -1
" Vim filetype plugin file
diff --git a/ftplugin/rst.vim b/ftplugin/rst.vim
index 5265edcf..d1d71c29 100644
--- a/ftplugin/rst.vim
+++ b/ftplugin/rst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/rst.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
" reStructuredText filetype plugin file
diff --git a/ftplugin/ruby.vim b/ftplugin/ruby.vim
index edca30dd..c20a08b2 100644
--- a/ftplugin/ruby.vim
+++ b/ftplugin/ruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/ruby.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 filetype plugin
diff --git a/ftplugin/rust.vim b/ftplugin/rust.vim
index 211f86b0..408a9199 100644
--- a/ftplugin/rust.vim
+++ b/ftplugin/rust.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
" Language: Rust
diff --git a/ftplugin/rust/tagbar.vim b/ftplugin/rust/tagbar.vim
index 9533a682..875b766a 100644
--- a/ftplugin/rust/tagbar.vim
+++ b/ftplugin/rust/tagbar.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/rust/tagbar.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
"
diff --git a/ftplugin/sass.vim b/ftplugin/sass.vim
index d13a9e18..a5b66a83 100644
--- a/ftplugin/sass.vim
+++ b/ftplugin/sass.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sass.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, 'sass') == -1
" Vim filetype plugin
diff --git a/ftplugin/sbt.vim b/ftplugin/sbt.vim
index 13601c87..017f63ab 100644
--- a/ftplugin/sbt.vim
+++ b/ftplugin/sbt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sbt.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, 'sbt') == -1
" Vim filetype plugin file
diff --git a/ftplugin/scala.vim b/ftplugin/scala.vim
index dafda59f..0d569e10 100644
--- a/ftplugin/scala.vim
+++ b/ftplugin/scala.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/scala.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, 'scala') == -1
" Vim filetype plugin
diff --git a/ftplugin/scala.xpt.vim b/ftplugin/scala.xpt.vim
index 1bab04f0..b49230a1 100644
--- a/ftplugin/scala.xpt.vim
+++ b/ftplugin/scala.xpt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/scala.xpt.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, 'scala') == -1
diff --git a/ftplugin/scala/tagbar.vim b/ftplugin/scala/tagbar.vim
index e2f416d9..a60bf235 100644
--- a/ftplugin/scala/tagbar.vim
+++ b/ftplugin/scala/tagbar.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/scala/tagbar.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, 'scala') == -1
"
diff --git a/ftplugin/scheme.vim b/ftplugin/scheme.vim
index e79efe7e..6b791eec 100644
--- a/ftplugin/scheme.vim
+++ b/ftplugin/scheme.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/scheme.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, 'scheme') == -1
" Vim filetype plugin file
diff --git a/ftplugin/screen.vim b/ftplugin/screen.vim
index ecd1f5ac..83e5f7e3 100644
--- a/ftplugin/screen.vim
+++ b/ftplugin/screen.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/screen.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, 'screen') == -1
" Vim filetype plugin file
diff --git a/ftplugin/scss.vim b/ftplugin/scss.vim
index e134f298..55db812a 100644
--- a/ftplugin/scss.vim
+++ b/ftplugin/scss.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/scss.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, 'scss') == -1
if exists('b:did_indent') && b:did_indent
diff --git a/ftplugin/sensors.vim b/ftplugin/sensors.vim
index bdf1ea91..cc91a810 100644
--- a/ftplugin/sensors.vim
+++ b/ftplugin/sensors.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sensors.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, 'sensors') == -1
" Vim filetype plugin file
diff --git a/ftplugin/services.vim b/ftplugin/services.vim
index c676b8a7..2c0f414a 100644
--- a/ftplugin/services.vim
+++ b/ftplugin/services.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/services.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, 'services') == -1
" Vim filetype plugin file
diff --git a/ftplugin/setserial.vim b/ftplugin/setserial.vim
index 270f2e0f..50560bfe 100644
--- a/ftplugin/setserial.vim
+++ b/ftplugin/setserial.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/setserial.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, 'setserial') == -1
" Vim filetype plugin file
diff --git a/ftplugin/sexplib.vim b/ftplugin/sexplib.vim
index 5726deee..8b4029e2 100644
--- a/ftplugin/sexplib.vim
+++ b/ftplugin/sexplib.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sexplib.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, 'ocaml') == -1
" Language: Sexplib
diff --git a/ftplugin/sieve.vim b/ftplugin/sieve.vim
index e14eadf4..b5d36392 100644
--- a/ftplugin/sieve.vim
+++ b/ftplugin/sieve.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sieve.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, 'sieve') == -1
" Vim filetype plugin file
diff --git a/ftplugin/slim.vim b/ftplugin/slim.vim
index 9051e454..e15389d9 100644
--- a/ftplugin/slim.vim
+++ b/ftplugin/slim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/slim.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, 'slim') == -1
if exists("b:did_ftplugin")
diff --git a/ftplugin/slpconf.vim b/ftplugin/slpconf.vim
index c03df0c1..1140f20b 100644
--- a/ftplugin/slpconf.vim
+++ b/ftplugin/slpconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/slpconf.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, 'slpconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/slpreg.vim b/ftplugin/slpreg.vim
index 5e6bcfeb..ca09dfb5 100644
--- a/ftplugin/slpreg.vim
+++ b/ftplugin/slpreg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/slpreg.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, 'slpreg') == -1
" Vim filetype plugin file
diff --git a/ftplugin/slpspi.vim b/ftplugin/slpspi.vim
index 1e253e1f..ef4722c9 100644
--- a/ftplugin/slpspi.vim
+++ b/ftplugin/slpspi.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/slpspi.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, 'slpspi') == -1
" Vim filetype plugin file
diff --git a/ftplugin/smt2.vim b/ftplugin/smt2.vim
index b9d01baf..b39fe64d 100644
--- a/ftplugin/smt2.vim
+++ b/ftplugin/smt2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
setlocal iskeyword+=-,:,#,',$
diff --git a/ftplugin/solidity.vim b/ftplugin/solidity.vim
index decf041d..853c53d2 100644
--- a/ftplugin/solidity.vim
+++ b/ftplugin/solidity.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/solidity.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, 'solidity') == -1
setlocal commentstring=//\ %s
diff --git a/ftplugin/spec.vim b/ftplugin/spec.vim
index cf93a223..900b0e49 100644
--- a/ftplugin/spec.vim
+++ b/ftplugin/spec.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/spec.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, 'spec') == -1
" Plugin to update the %changelog section of RPM spec files
diff --git a/ftplugin/sql.vim b/ftplugin/sql.vim
index 41e1d2bf..befd023b 100644
--- a/ftplugin/sql.vim
+++ b/ftplugin/sql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sql.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, 'sql') == -1
" SQL filetype plugin file
diff --git a/ftplugin/sshconfig.vim b/ftplugin/sshconfig.vim
index 3233a591..9519f30b 100644
--- a/ftplugin/sshconfig.vim
+++ b/ftplugin/sshconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sshconfig.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, 'sshconfig') == -1
" Vim filetype plugin file
diff --git a/ftplugin/stylus.vim b/ftplugin/stylus.vim
index 66ed8c6a..c39decc3 100644
--- a/ftplugin/stylus.vim
+++ b/ftplugin/stylus.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/stylus.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, 'stylus') == -1
" Vim filetype plugin
diff --git a/ftplugin/sudoers.vim b/ftplugin/sudoers.vim
index 61a5f708..26ce5836 100644
--- a/ftplugin/sudoers.vim
+++ b/ftplugin/sudoers.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sudoers.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, 'sudoers') == -1
" Vim filetype plugin file
diff --git a/ftplugin/svelte.vim b/ftplugin/svelte.vim
index 3c3df23a..d8bd58d5 100644
--- a/ftplugin/svelte.vim
+++ b/ftplugin/svelte.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/svelte.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, 'svelte') == -1
" Vim filetype plugin
diff --git a/ftplugin/swift.vim b/ftplugin/swift.vim
index 78394bc5..d1e1de89 100644
--- a/ftplugin/swift.vim
+++ b/ftplugin/swift.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/swift.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, 'swift') == -1
setlocal commentstring=//\ %s
diff --git a/ftplugin/swiftgyb.vim b/ftplugin/swiftgyb.vim
index a8f2ebcf..0870048b 100644
--- a/ftplugin/swiftgyb.vim
+++ b/ftplugin/swiftgyb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/swiftgyb.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, 'swiftgyb') == -1
" This source file is part of the Swift.org open source project
diff --git a/ftplugin/sysctl.vim b/ftplugin/sysctl.vim
index 7288f020..d8dca859 100644
--- a/ftplugin/sysctl.vim
+++ b/ftplugin/sysctl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/sysctl.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, 'sysctl') == -1
" Vim filetype plugin file
diff --git a/ftplugin/systemd.vim b/ftplugin/systemd.vim
index 6e757d91..ee05ed2a 100644
--- a/ftplugin/systemd.vim
+++ b/ftplugin/systemd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/systemd.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, 'systemd') == -1
" Vim filetype plugin file
diff --git a/ftplugin/systemverilog.vim b/ftplugin/systemverilog.vim
index 49502bfa..6b088c6c 100644
--- a/ftplugin/systemverilog.vim
+++ b/ftplugin/systemverilog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/systemverilog.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, 'systemverilog') == -1
" Vim filetype plugin file
diff --git a/ftplugin/tablegen.vim b/ftplugin/tablegen.vim
index 9e895afc..04b8c4e6 100644
--- a/ftplugin/tablegen.vim
+++ b/ftplugin/tablegen.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/tablegen.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, 'llvm') == -1
" Vim filetype plugin file
diff --git a/ftplugin/tcl.vim b/ftplugin/tcl.vim
index d9bd25c2..c2dfd035 100644
--- a/ftplugin/tcl.vim
+++ b/ftplugin/tcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/tcl.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, 'tcl') == -1
" Vim filetype plugin file
diff --git a/ftplugin/terminfo.vim b/ftplugin/terminfo.vim
index 6466f3c6..ab948691 100644
--- a/ftplugin/terminfo.vim
+++ b/ftplugin/terminfo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/terminfo.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, 'terminfo') == -1
" Vim filetype plugin file
diff --git a/ftplugin/terraform.vim b/ftplugin/terraform.vim
index 3786648f..8edc509d 100644
--- a/ftplugin/terraform.vim
+++ b/ftplugin/terraform.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
" terraform.vim - basic vim/terraform integration
diff --git a/ftplugin/tex.vim b/ftplugin/tex.vim
index 4890dba3..b2ab4560 100644
--- a/ftplugin/tex.vim
+++ b/ftplugin/tex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/tex.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, 'tex') == -1
" LaTeX filetype plugin
diff --git a/ftplugin/text.vim b/ftplugin/text.vim
index 8dcebd6d..7c13d82f 100644
--- a/ftplugin/text.vim
+++ b/ftplugin/text.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/text.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, 'text') == -1
" Vim filetype plugin
diff --git a/ftplugin/textile.vim b/ftplugin/textile.vim
index 829e80d0..d260e848 100644
--- a/ftplugin/textile.vim
+++ b/ftplugin/textile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/textile.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, 'textile') == -1
" textile.vim
diff --git a/ftplugin/tmux.vim b/ftplugin/tmux.vim
index 4b830a6b..4965032b 100644
--- a/ftplugin/tmux.vim
+++ b/ftplugin/tmux.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/tmux.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, 'tmux') == -1
" Vim filetype plugin file
diff --git a/ftplugin/toml.vim b/ftplugin/toml.vim
index ad884308..ce5a9fa1 100644
--- a/ftplugin/toml.vim
+++ b/ftplugin/toml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/toml.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, 'toml') == -1
" File: ftplugin/toml.vim
diff --git a/ftplugin/treetop.vim b/ftplugin/treetop.vim
index 59376a3b..628bd891 100644
--- a/ftplugin/treetop.vim
+++ b/ftplugin/treetop.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/treetop.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, 'treetop') == -1
" Vim filetype plugin file
diff --git a/ftplugin/tt2html.vim b/ftplugin/tt2html.vim
index 858dc13b..6fb150fc 100644
--- a/ftplugin/tt2html.vim
+++ b/ftplugin/tt2html.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/tt2html.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, 'perl') == -1
" Language: TT2 embedded with HTML
diff --git a/ftplugin/twig.vim b/ftplugin/twig.vim
index 9284189f..ea10d3db 100644
--- a/ftplugin/twig.vim
+++ b/ftplugin/twig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/twig.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, 'twig') == -1
" Vim filetype plugin
diff --git a/ftplugin/typescript.vim b/ftplugin/typescript.vim
index 148eff9e..b99f5d9b 100644
--- a/ftplugin/typescript.vim
+++ b/ftplugin/typescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/typescript.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, 'typescript') == -1
" set Vi-incompatible, compiler and commentstring
diff --git a/ftplugin/typescriptreact.vim b/ftplugin/typescriptreact.vim
index 6b8380f7..a52ab70c 100644
--- a/ftplugin/typescriptreact.vim
+++ b/ftplugin/typescriptreact.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/typescriptreact.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, 'typescript') == -1
" modified from mxw/vim-jsx from html.vim
diff --git a/ftplugin/udevconf.vim b/ftplugin/udevconf.vim
index 2e706fd1..e554c90b 100644
--- a/ftplugin/udevconf.vim
+++ b/ftplugin/udevconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/udevconf.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, 'udevconf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/udevperm.vim b/ftplugin/udevperm.vim
index 26616d82..7fde3445 100644
--- a/ftplugin/udevperm.vim
+++ b/ftplugin/udevperm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/udevperm.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, 'udevperm') == -1
" Vim filetype plugin file
diff --git a/ftplugin/updatedb.vim b/ftplugin/updatedb.vim
index 69f4c712..7dd6476f 100644
--- a/ftplugin/updatedb.vim
+++ b/ftplugin/updatedb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/updatedb.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, 'updatedb') == -1
" Vim filetype plugin file
diff --git a/ftplugin/vala.vim b/ftplugin/vala.vim
index 00eefd1d..88f9ea7c 100644
--- a/ftplugin/vala.vim
+++ b/ftplugin/vala.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/vala.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, 'vala') == -1
if exists('b:did_ftplugin')
diff --git a/ftplugin/vb.vim b/ftplugin/vb.vim
index 63bf8efd..f591072e 100644
--- a/ftplugin/vb.vim
+++ b/ftplugin/vb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/vb.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, 'visual-basic') == -1
" Vim filetype plugin file
diff --git a/ftplugin/verilog.vim b/ftplugin/verilog.vim
index dd380525..ff1109e5 100644
--- a/ftplugin/verilog.vim
+++ b/ftplugin/verilog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/verilog.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, 'verilog') == -1
" Vim filetype plugin file
diff --git a/ftplugin/vhdl.vim b/ftplugin/vhdl.vim
index 55490ffb..31aded2b 100644
--- a/ftplugin/vhdl.vim
+++ b/ftplugin/vhdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/vhdl.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, 'vhdl') == -1
" VHDL filetype plugin
diff --git a/ftplugin/vlang.vim b/ftplugin/vlang.vim
index 0aafeac5..8c597249 100644
--- a/ftplugin/vlang.vim
+++ b/ftplugin/vlang.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/vlang.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, 'v') == -1
setlocal commentstring=//\ %s
diff --git a/ftplugin/vroom.vim b/ftplugin/vroom.vim
index 0c1eee80..835f1314 100644
--- a/ftplugin/vroom.vim
+++ b/ftplugin/vroom.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/vroom.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, 'vroom') == -1
" Vim filetype plugin file
diff --git a/ftplugin/vue.vim b/ftplugin/vue.vim
index fb8739c7..e5bb5e43 100644
--- a/ftplugin/vue.vim
+++ b/ftplugin/vue.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/vue.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, 'vue') == -1
" Vim filetype plugin
diff --git a/ftplugin/wast.vim b/ftplugin/wast.vim
index b211e6f5..7936da97 100644
--- a/ftplugin/wast.vim
+++ b/ftplugin/wast.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/wast.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, 'wast') == -1
" Vim filetype plugin file
diff --git a/ftplugin/xdefaults.vim b/ftplugin/xdefaults.vim
index d3fb6487..83fa9f91 100644
--- a/ftplugin/xdefaults.vim
+++ b/ftplugin/xdefaults.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/xdefaults.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, 'xdefaults') == -1
" Vim filetype plugin file
diff --git a/ftplugin/xf86conf.vim b/ftplugin/xf86conf.vim
index c298379b..839dfaac 100644
--- a/ftplugin/xf86conf.vim
+++ b/ftplugin/xf86conf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/xf86conf.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, 'xf86conf') == -1
" Vim filetype plugin file
diff --git a/ftplugin/xhtml.vim b/ftplugin/xhtml.vim
index 0556d1be..68151ffb 100644
--- a/ftplugin/xhtml.vim
+++ b/ftplugin/xhtml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/xhtml.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, 'xhtml') == -1
" Vim filetype plugin file
diff --git a/ftplugin/xinetd.vim b/ftplugin/xinetd.vim
index f99a91ac..25af0607 100644
--- a/ftplugin/xinetd.vim
+++ b/ftplugin/xinetd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/xinetd.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, 'xinetd') == -1
" Vim filetype plugin file
diff --git a/ftplugin/xmodmap.vim b/ftplugin/xmodmap.vim
index 16ab12ee..e787380b 100644
--- a/ftplugin/xmodmap.vim
+++ b/ftplugin/xmodmap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/xmodmap.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, 'xmodmap') == -1
" Vim filetype plugin file
diff --git a/ftplugin/xs.vim b/ftplugin/xs.vim
index 07256651..95d8a228 100644
--- a/ftplugin/xs.vim
+++ b/ftplugin/xs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/xs.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, 'perl') == -1
" Vim filetype plugin file
diff --git a/ftplugin/xsd.vim b/ftplugin/xsd.vim
index f3f94d91..f53f5bac 100644
--- a/ftplugin/xsd.vim
+++ b/ftplugin/xsd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/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
" Vim filetype plugin file
diff --git a/ftplugin/xslt.vim b/ftplugin/xslt.vim
index 2d2320ae..76735f0a 100644
--- a/ftplugin/xslt.vim
+++ b/ftplugin/xslt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/xslt.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, 'xslt') == -1
" Vim filetype plugin file
diff --git a/ftplugin/yaml.vim b/ftplugin/yaml.vim
index 261d71ca..44f716bf 100644
--- a/ftplugin/yaml.vim
+++ b/ftplugin/yaml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/yaml.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, 'yaml') == -1
" Vim filetype plugin file
diff --git a/ftplugin/zig.vim b/ftplugin/zig.vim
index dc9af384..50f3aecd 100644
--- a/ftplugin/zig.vim
+++ b/ftplugin/zig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/zig.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
" Only do this when not done yet for this buffer
diff --git a/ftplugin/zimbu.vim b/ftplugin/zimbu.vim
index fc939fde..6af9be4f 100644
--- a/ftplugin/zimbu.vim
+++ b/ftplugin/zimbu.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'ftplugin/zimbu.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, 'zimbu') == -1
" Vim filetype plugin file
diff --git a/indent/Jenkinsfile.vim b/indent/Jenkinsfile.vim
index 6fe4fbb4..28602479 100644
--- a/indent/Jenkinsfile.vim
+++ b/indent/Jenkinsfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/Jenkinsfile.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, 'jenkins') == -1
runtime indent/groovy.vim
diff --git a/indent/aap.vim b/indent/aap.vim
index 9e7573df..41140ace 100644
--- a/indent/aap.vim
+++ b/indent/aap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/aap.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, 'aap') == -1
" Vim indent file
diff --git a/indent/ada.vim b/indent/ada.vim
index 77000842..249c7afa 100644
--- a/indent/ada.vim
+++ b/indent/ada.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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/indent/ansible.vim b/indent/ansible.vim
index a68128c4..2632f893 100644
--- a/indent/ansible.vim
+++ b/indent/ansible.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ansible.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, 'ansible') == -1
let s:save_cpo = &cpo
diff --git a/indent/ant.vim b/indent/ant.vim
index 22d344db..fc948477 100644
--- a/indent/ant.vim
+++ b/indent/ant.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ant.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, 'ant') == -1
" Vim indent file
diff --git a/indent/applescript.vim b/indent/applescript.vim
index cf75187f..d58e92cc 100644
--- a/indent/applescript.vim
+++ b/indent/applescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/applescript.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, 'applescript') == -1
"Plugin Name: applescript indent file.
diff --git a/indent/arduino.vim b/indent/arduino.vim
index d004dcf2..a265ea02 100644
--- a/indent/arduino.vim
+++ b/indent/arduino.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/arduino.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, 'arduino') == -1
" Vim indent file
diff --git a/indent/autohotkey.vim b/indent/autohotkey.vim
index fa57c315..1d0a0936 100644
--- a/indent/autohotkey.vim
+++ b/indent/autohotkey.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/autohotkey.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, 'autohotkey') == -1
" Vim indent file
diff --git a/indent/automake.vim b/indent/automake.vim
index a9f67f7c..27272c5e 100644
--- a/indent/automake.vim
+++ b/indent/automake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/automake.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, 'automake') == -1
" Vim indent file
diff --git a/indent/awk.vim b/indent/awk.vim
index 7d2bae32..17082d35 100644
--- a/indent/awk.vim
+++ b/indent/awk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/awk.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, 'awk') == -1
" vim: set sw=3 sts=3:
diff --git a/indent/bib.vim b/indent/bib.vim
index 677b19df..802fa688 100644
--- a/indent/bib.vim
+++ b/indent/bib.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/bib.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, 'bib') == -1
" Vim indent file
diff --git a/indent/blade.vim b/indent/blade.vim
index 6d815b35..0ab2e45c 100644
--- a/indent/blade.vim
+++ b/indent/blade.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/blade.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, 'blade') == -1
" Vim indent file
diff --git a/indent/bst.vim b/indent/bst.vim
index 6d41acf8..ac2f9bfe 100644
--- a/indent/bst.vim
+++ b/indent/bst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/bst.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, 'bst') == -1
" Vim indent file
diff --git a/indent/bzl.vim b/indent/bzl.vim
index adda8a85..deea163c 100644
--- a/indent/bzl.vim
+++ b/indent/bzl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/bzl.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, 'bzl') == -1
" Vim indent file
diff --git a/indent/cabal.vim b/indent/cabal.vim
index 8f8e81b8..b81a8277 100644
--- a/indent/cabal.vim
+++ b/indent/cabal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cabal.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, 'haskell') == -1
" indentation for cabal
diff --git a/indent/caddyfile.vim b/indent/caddyfile.vim
index c8636bcb..b3a5c20e 100644
--- a/indent/caddyfile.vim
+++ b/indent/caddyfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/caddyfile.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, 'caddyfile') == -1
if exists('b:did_indent')
diff --git a/indent/cdl.vim b/indent/cdl.vim
index 844ae717..8f9ded85 100644
--- a/indent/cdl.vim
+++ b/indent/cdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cdl.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, 'cdl') == -1
" Description: Comshare Dimension Definition Language (CDL)
diff --git a/indent/ch.vim b/indent/ch.vim
index 479ce324..023fff0a 100644
--- a/indent/ch.vim
+++ b/indent/ch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ch.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, 'ch') == -1
" Vim indent file
diff --git a/indent/chaiscript.vim b/indent/chaiscript.vim
index 49b9bad3..367f462c 100644
--- a/indent/chaiscript.vim
+++ b/indent/chaiscript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/chaiscript.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, 'chaiscript') == -1
" Vim indent file
diff --git a/indent/clojure.vim b/indent/clojure.vim
index 86eb7839..2b06814c 100644
--- a/indent/clojure.vim
+++ b/indent/clojure.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/clojure.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 indent file
diff --git a/indent/cmake.vim b/indent/cmake.vim
index ef0ed813..dd7cd9b4 100644
--- a/indent/cmake.vim
+++ b/indent/cmake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cmake.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, 'cmake') == -1
" Vim indent file
diff --git a/indent/cobol.vim b/indent/cobol.vim
index 5cfe2321..9d17a6f7 100644
--- a/indent/cobol.vim
+++ b/indent/cobol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cobol.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, 'cobol') == -1
" Vim indent file
diff --git a/indent/coffee.vim b/indent/coffee.vim
index ee9c8a61..790bc2ce 100644
--- a/indent/coffee.vim
+++ b/indent/coffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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/indent/config.vim b/indent/config.vim
index 3e59cc5e..73d5c09c 100644
--- a/indent/config.vim
+++ b/indent/config.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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, 'config') == -1
" Vim indent file
diff --git a/indent/crystal.vim b/indent/crystal.vim
index 2ba6563c..3c554a3f 100644
--- a/indent/crystal.vim
+++ b/indent/crystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Initialization {{{1
diff --git a/indent/cs.vim b/indent/cs.vim
index 893f5b80..fd8f49de 100644
--- a/indent/cs.vim
+++ b/indent/cs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cs.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, 'cs') == -1
" Vim indent file
diff --git a/indent/css.vim b/indent/css.vim
index 58189a48..5b8dc7d2 100644
--- a/indent/css.vim
+++ b/indent/css.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/css.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, 'css') == -1
" Vim indent file
diff --git a/indent/cucumber.vim b/indent/cucumber.vim
index a9960b02..a564e254 100644
--- a/indent/cucumber.vim
+++ b/indent/cucumber.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cucumber.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, 'cucumber') == -1
" Vim indent file
diff --git a/indent/cuda.vim b/indent/cuda.vim
index 22552a29..69684363 100644
--- a/indent/cuda.vim
+++ b/indent/cuda.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cuda.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, 'cuda') == -1
" Vim indent file
diff --git a/indent/cython.vim b/indent/cython.vim
index 156833d4..39bc24da 100644
--- a/indent/cython.vim
+++ b/indent/cython.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/cython.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-indent') == -1
" PEP8 compatible Python indent file
diff --git a/indent/d.vim b/indent/d.vim
index 9575f611..8fff519e 100644
--- a/indent/d.vim
+++ b/indent/d.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/d.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, 'dlang') == -1
" Vim indent file for the D programming language (version 1.076 and 2.063).
diff --git a/indent/dart.vim b/indent/dart.vim
index 7599de4d..87b3bbef 100644
--- a/indent/dart.vim
+++ b/indent/dart.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
if exists('b:did_indent')
diff --git a/indent/dictconf.vim b/indent/dictconf.vim
index 3a10fef5..d2035d80 100644
--- a/indent/dictconf.vim
+++ b/indent/dictconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/dictconf.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, 'dictconf') == -1
" Vim indent file
diff --git a/indent/dictdconf.vim b/indent/dictdconf.vim
index 4338ff88..891334e9 100644
--- a/indent/dictdconf.vim
+++ b/indent/dictdconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/dictdconf.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, 'dictdconf') == -1
" Vim indent file
diff --git a/indent/dosbatch.vim b/indent/dosbatch.vim
index f4352ead..1baee719 100644
--- a/indent/dosbatch.vim
+++ b/indent/dosbatch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/dosbatch.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, 'dosbatch') == -1
" Vim indent file
diff --git a/indent/dtd.vim b/indent/dtd.vim
index 189182b1..9c035ee5 100644
--- a/indent/dtd.vim
+++ b/indent/dtd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/dtd.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, 'dtd') == -1
" Vim indent file
diff --git a/indent/dune.vim b/indent/dune.vim
index 658cfe04..a0b2c3c3 100644
--- a/indent/dune.vim
+++ b/indent/dune.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/dune.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, 'ocaml') == -1
" Vim indent file
diff --git a/indent/dylan.vim b/indent/dylan.vim
index f882f7bd..39fc5830 100644
--- a/indent/dylan.vim
+++ b/indent/dylan.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/dylan.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, 'dylan') == -1
" Vim indent file
diff --git a/indent/ecrystal.vim b/indent/ecrystal.vim
index ad3303c3..8bd3580e 100644
--- a/indent/ecrystal.vim
+++ b/indent/ecrystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Setup {{{1
diff --git a/indent/eelixir.vim b/indent/eelixir.vim
index e9ce89f4..cf0b5461 100644
--- a/indent/eelixir.vim
+++ b/indent/eelixir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/eelixir.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("b:did_indent")
diff --git a/indent/elixir.vim b/indent/elixir.vim
index 5c7f36fe..762516c7 100644
--- a/indent/elixir.vim
+++ b/indent/elixir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/elixir.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("b:did_indent")
diff --git a/indent/elm.vim b/indent/elm.vim
index e27c6e90..a29a253e 100644
--- a/indent/elm.vim
+++ b/indent/elm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/elm.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, 'elm') == -1
" indentation for Elm (https://elm-lang.org/)
diff --git a/indent/ember-script.vim b/indent/ember-script.vim
index f887714b..46595215 100644
--- a/indent/ember-script.vim
+++ b/indent/ember-script.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ember-script.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, 'emberscript') == -1
" Language: ember-script
diff --git a/indent/emblem.vim b/indent/emblem.vim
index 8400f58c..ba4673b1 100644
--- a/indent/emblem.vim
+++ b/indent/emblem.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/emblem.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, 'emblem') == -1
" Language: emblem
diff --git a/indent/erlang.vim b/indent/erlang.vim
index 2cc1cb23..537b52f5 100644
--- a/indent/erlang.vim
+++ b/indent/erlang.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/erlang.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, 'erlang') == -1
" Vim indent file
diff --git a/indent/eruby.vim b/indent/eruby.vim
index 2dc00daf..16f4b8f5 100644
--- a/indent/eruby.vim
+++ b/indent/eruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/eruby.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 indent file
diff --git a/indent/eterm.vim b/indent/eterm.vim
index 6042815c..87a3cd89 100644
--- a/indent/eterm.vim
+++ b/indent/eterm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/eterm.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, 'eterm') == -1
" Vim indent file
diff --git a/indent/falcon.vim b/indent/falcon.vim
index a00d80a7..388a508c 100644
--- a/indent/falcon.vim
+++ b/indent/falcon.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/falcon.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, 'falcon') == -1
" Vim indent file
diff --git a/indent/fennel.vim b/indent/fennel.vim
index c4516135..9a85f3b2 100644
--- a/indent/fennel.vim
+++ b/indent/fennel.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/fennel.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, 'fennel') == -1
" Vim filetype plugin file
diff --git a/indent/fish.vim b/indent/fish.vim
index 260139a6..a5e2ab07 100644
--- a/indent/fish.vim
+++ b/indent/fish.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
setlocal indentexpr=fish#Indent()
diff --git a/indent/fortran.vim b/indent/fortran.vim
index a4c5f130..f56af8ee 100644
--- a/indent/fortran.vim
+++ b/indent/fortran.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/fortran.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, 'fortran') == -1
" Vim indent file
diff --git a/indent/framescript.vim b/indent/framescript.vim
index d7a7b0e1..ae2a2026 100644
--- a/indent/framescript.vim
+++ b/indent/framescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/framescript.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, 'framescript') == -1
" Vim indent file
diff --git a/indent/fsharp.vim b/indent/fsharp.vim
index 6d54ae39..e743cfb3 100644
--- a/indent/fsharp.vim
+++ b/indent/fsharp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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 indent file
diff --git a/indent/gdscript3.vim b/indent/gdscript3.vim
index c57561e0..f481ef71 100644
--- a/indent/gdscript3.vim
+++ b/indent/gdscript3.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/gdscript3.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, 'gdscript') == -1
" Vim indent file
diff --git a/indent/gitconfig.vim b/indent/gitconfig.vim
index 53dff35a..4eb4b0e7 100644
--- a/indent/gitconfig.vim
+++ b/indent/gitconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/gitconfig.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, 'git') == -1
" Vim indent file
diff --git a/indent/gitolite.vim b/indent/gitolite.vim
index acde56c9..6a990ec6 100644
--- a/indent/gitolite.vim
+++ b/indent/gitolite.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/gitolite.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, 'gitolite') == -1
" Vim indent file
diff --git a/indent/glsl.vim b/indent/glsl.vim
index d998358c..34437a03 100644
--- a/indent/glsl.vim
+++ b/indent/glsl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/glsl.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, 'glsl') == -1
" Language: OpenGL Shading Language
diff --git a/indent/go.vim b/indent/go.vim
index a231b4b8..2ab79143 100644
--- a/indent/go.vim
+++ b/indent/go.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/go.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
" Copyright 2011 The Go Authors. All rights reserved.
diff --git a/indent/gohtmltmpl.vim b/indent/gohtmltmpl.vim
index 9f44597a..f389cf35 100644
--- a/indent/gohtmltmpl.vim
+++ b/indent/gohtmltmpl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/gohtmltmpl.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
if exists("b:did_indent")
diff --git a/indent/graphql.vim b/indent/graphql.vim
index 12204f5f..6612527b 100644
--- a/indent/graphql.vim
+++ b/indent/graphql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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/indent/haml.vim b/indent/haml.vim
index ea6f5d17..3b00ccb2 100644
--- a/indent/haml.vim
+++ b/indent/haml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/haml.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, 'haml') == -1
" Vim indent file
diff --git a/indent/hamster.vim b/indent/hamster.vim
index b8f0b5d4..0ec5252f 100644
--- a/indent/hamster.vim
+++ b/indent/hamster.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/hamster.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, 'hamster') == -1
" Vim indent file
diff --git a/indent/handlebars.vim b/indent/handlebars.vim
index fbff2fa0..77780ef7 100644
--- a/indent/handlebars.vim
+++ b/indent/handlebars.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/handlebars.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, 'handlebars') == -1
" Mustache & Handlebars syntax
diff --git a/indent/haskell.vim b/indent/haskell.vim
index baefc7f3..5267f3f3 100644
--- a/indent/haskell.vim
+++ b/indent/haskell.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/haskell.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, 'haskell') == -1
" indentation for haskell
diff --git a/indent/hcl.vim b/indent/hcl.vim
index 2d7acf4b..7c054c83 100644
--- a/indent/hcl.vim
+++ b/indent/hcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/hcl.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, 'hcl') == -1
if exists('b:did_indent')
diff --git a/indent/hog.vim b/indent/hog.vim
index 20e152b3..1fb5845e 100644
--- a/indent/hog.vim
+++ b/indent/hog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/hog.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, 'hog') == -1
" Vim indent file
diff --git a/indent/html.vim b/indent/html.vim
index 1e56c85e..e3cac310 100644
--- a/indent/html.vim
+++ b/indent/html.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/html.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, 'html') == -1
" Vim indent script for HTML
diff --git a/indent/htmldjango.vim b/indent/htmldjango.vim
index 493ced54..17654662 100644
--- a/indent/htmldjango.vim
+++ b/indent/htmldjango.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/htmldjango.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, 'htmldjango') == -1
" Vim indent file
diff --git a/indent/idris.vim b/indent/idris.vim
index 3c415e74..97e5386e 100644
--- a/indent/idris.vim
+++ b/indent/idris.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/idris.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, 'idris') == -1
" indentation for idris (idris-lang.org)
diff --git a/indent/idris2.vim b/indent/idris2.vim
index 83995423..0870c3b8 100644
--- a/indent/idris2.vim
+++ b/indent/idris2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/idris2.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, 'idris2') == -1
" indentation for idris (idris-lang.org)
diff --git a/indent/j.vim b/indent/j.vim
index 550fae8a..fdf4df81 100644
--- a/indent/j.vim
+++ b/indent/j.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/j.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, 'j') == -1
" Vim indent file
diff --git a/indent/java.vim b/indent/java.vim
index 99203420..67bdec6f 100644
--- a/indent/java.vim
+++ b/indent/java.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/java.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, 'java') == -1
" Vim indent file
diff --git a/indent/javascript.vim b/indent/javascript.vim
index 36c3482a..bb19347c 100644
--- a/indent/javascript.vim
+++ b/indent/javascript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/javascript.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
" Vim indent file
diff --git a/indent/json.vim b/indent/json.vim
index 56f5ffa5..62da1d7b 100644
--- a/indent/json.vim
+++ b/indent/json.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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, 'json') == -1
" Vim indent file
diff --git a/indent/jsp.vim b/indent/jsp.vim
index 613496bc..cb7dd66c 100644
--- a/indent/jsp.vim
+++ b/indent/jsp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/jsp.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, 'jsp') == -1
" Vim filetype indent file
diff --git a/indent/jst.vim b/indent/jst.vim
index c009eae5..006bcf20 100644
--- a/indent/jst.vim
+++ b/indent/jst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/jst.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, 'jst') == -1
if exists("b:did_indent")
diff --git a/indent/julia.vim b/indent/julia.vim
index 6f4be447..8b65d4a9 100644
--- a/indent/julia.vim
+++ b/indent/julia.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Vim indent file
diff --git a/indent/kotlin.vim b/indent/kotlin.vim
index a987f067..fca5e30d 100644
--- a/indent/kotlin.vim
+++ b/indent/kotlin.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/kotlin.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, 'kotlin') == -1
" Vim indent file
diff --git a/indent/ld.vim b/indent/ld.vim
index d5c90854..6b153d3b 100644
--- a/indent/ld.vim
+++ b/indent/ld.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ld.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, 'ld') == -1
" Vim indent file
diff --git a/indent/ledger.vim b/indent/ledger.vim
index 9dde49b6..6cb48155 100644
--- a/indent/ledger.vim
+++ b/indent/ledger.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Vim filetype indent file
diff --git a/indent/less.vim b/indent/less.vim
index 628f2ff3..4c71822a 100644
--- a/indent/less.vim
+++ b/indent/less.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/less.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, 'less') == -1
" Vim indent file
diff --git a/indent/lifelines.vim b/indent/lifelines.vim
index b0c16ba5..f6c540f6 100644
--- a/indent/lifelines.vim
+++ b/indent/lifelines.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/lifelines.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, 'lifelines') == -1
" Vim indent file
diff --git a/indent/lilypond.vim b/indent/lilypond.vim
index f9b2cbdd..ec62de55 100644
--- a/indent/lilypond.vim
+++ b/indent/lilypond.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/lilypond.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, 'lilypond') == -1
" LilyPond indent file
diff --git a/indent/liquid.vim b/indent/liquid.vim
index 60f9c603..b922e162 100644
--- a/indent/liquid.vim
+++ b/indent/liquid.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/liquid.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, 'liquid') == -1
" Vim indent file
diff --git a/indent/lisp.vim b/indent/lisp.vim
index 13e0558a..466928dc 100644
--- a/indent/lisp.vim
+++ b/indent/lisp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/lisp.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, 'lisp') == -1
" Vim indent file
diff --git a/indent/litcoffee.vim b/indent/litcoffee.vim
index 9ab22c97..b75f93ac 100644
--- a/indent/litcoffee.vim
+++ b/indent/litcoffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/litcoffee.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
if exists('b:did_indent')
diff --git a/indent/llvm.vim b/indent/llvm.vim
index dd00c7e8..34443080 100644
--- a/indent/llvm.vim
+++ b/indent/llvm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/llvm.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, 'llvm') == -1
" Vim indent file
diff --git a/indent/logtalk.vim b/indent/logtalk.vim
index 3ca14707..437de863 100644
--- a/indent/logtalk.vim
+++ b/indent/logtalk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/logtalk.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, 'logtalk') == -1
" Maintainer: Paulo Moura <pmoura@logtalk.org>
diff --git a/indent/ls.vim b/indent/ls.vim
index 5de62bb6..fe959f3e 100644
--- a/indent/ls.vim
+++ b/indent/ls.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ls.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, 'livescript') == -1
" Language: LiveScript
diff --git a/indent/lua.vim b/indent/lua.vim
index 6eb8ff08..e86c1b8d 100644
--- a/indent/lua.vim
+++ b/indent/lua.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/lua.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, 'lua') == -1
" Vim indent file
diff --git a/indent/mail.vim b/indent/mail.vim
index 6ecf607f..ff3f67a9 100644
--- a/indent/mail.vim
+++ b/indent/mail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/mail.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, 'mail') == -1
" Vim indent file
diff --git a/indent/make.vim b/indent/make.vim
index 07436042..66553b2b 100644
--- a/indent/make.vim
+++ b/indent/make.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/make.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, 'make') == -1
" Vim indent file
diff --git a/indent/mako.vim b/indent/mako.vim
index fc971785..12dc3f0d 100644
--- a/indent/mako.vim
+++ b/indent/mako.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/mako.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, 'mako') == -1
" Vim indent file
diff --git a/indent/markdown.vim b/indent/markdown.vim
index fa797312..927e5ed7 100644
--- a/indent/markdown.vim
+++ b/indent/markdown.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/markdown.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, 'markdown') == -1
if exists("b:did_indent") | finish | endif
diff --git a/indent/meson.vim b/indent/meson.vim
index db5610ac..26dd22c3 100644
--- a/indent/meson.vim
+++ b/indent/meson.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/meson.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, 'meson') == -1
" Vim indent file
diff --git a/indent/mf.vim b/indent/mf.vim
index b3f1dea8..4bf6501e 100644
--- a/indent/mf.vim
+++ b/indent/mf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/mf.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, 'mf') == -1
" METAFONT indent file
diff --git a/indent/moon.vim b/indent/moon.vim
index 799da8db..202d2de6 100644
--- a/indent/moon.vim
+++ b/indent/moon.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/moon.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, 'moonscript') == -1
" Language: MoonScript
diff --git a/indent/mp.vim b/indent/mp.vim
index 76e9df22..d48e8ac4 100644
--- a/indent/mp.vim
+++ b/indent/mp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/mp.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, 'mp') == -1
" MetaPost indent file
diff --git a/indent/mustache.vim b/indent/mustache.vim
index 3387485e..05c58d36 100644
--- a/indent/mustache.vim
+++ b/indent/mustache.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/mustache.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, 'handlebars') == -1
runtime! indent/handlebars.vim
diff --git a/indent/nginx.vim b/indent/nginx.vim
index 9ff28374..1dd748d1 100644
--- a/indent/nginx.vim
+++ b/indent/nginx.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/nginx.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, 'nginx') == -1
if exists("b:did_indent")
diff --git a/indent/nim.vim b/indent/nim.vim
index 7193a9fa..c4cc7e98 100644
--- a/indent/nim.vim
+++ b/indent/nim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Only load this indent file when no other was loaded.
diff --git a/indent/nix.vim b/indent/nix.vim
index d91f7563..7b3f3def 100644
--- a/indent/nix.vim
+++ b/indent/nix.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/nix.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, 'nix') == -1
" Vim indent file
diff --git a/indent/nsis.vim b/indent/nsis.vim
index 0ffa1b2e..d6aef5c0 100644
--- a/indent/nsis.vim
+++ b/indent/nsis.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/nsis.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, 'nsis') == -1
" Vim indent file
diff --git a/indent/ocaml.vim b/indent/ocaml.vim
index 5297b34c..1d4e2f66 100644
--- a/indent/ocaml.vim
+++ b/indent/ocaml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ocaml.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, 'ocaml') == -1
" Vim indent file
diff --git a/indent/occam.vim b/indent/occam.vim
index 9361bf48..06c9face 100644
--- a/indent/occam.vim
+++ b/indent/occam.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/occam.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, 'occam') == -1
" Vim indent file
diff --git a/indent/octave.vim b/indent/octave.vim
index e7bb4aca..ce6c6952 100644
--- a/indent/octave.vim
+++ b/indent/octave.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/octave.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, 'octave') == -1
" Vim indent file
diff --git a/indent/odin.vim b/indent/odin.vim
index b00b5387..6cd93a9a 100644
--- a/indent/odin.vim
+++ b/indent/odin.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/odin.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, 'odin') == -1
if exists("b:did_indent")
diff --git a/indent/omake.vim b/indent/omake.vim
index 91db5daa..b5cc828c 100644
--- a/indent/omake.vim
+++ b/indent/omake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/omake.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, 'ocaml') == -1
" Vim indent file
diff --git a/indent/opencl.vim b/indent/opencl.vim
index e438fdf0..5c30574b 100644
--- a/indent/opencl.vim
+++ b/indent/opencl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/opencl.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, 'opencl') == -1
" Only load this indent file when no other was loaded.
diff --git a/indent/pascal.vim b/indent/pascal.vim
index e112a84e..92177246 100644
--- a/indent/pascal.vim
+++ b/indent/pascal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/pascal.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, 'pascal') == -1
" Vim indent file
diff --git a/indent/perl.vim b/indent/perl.vim
index ff78e996..d40e3629 100644
--- a/indent/perl.vim
+++ b/indent/perl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/perl.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, 'perl') == -1
" Vim indent file
diff --git a/indent/pgsql.vim b/indent/pgsql.vim
index f46597a7..a0ece225 100644
--- a/indent/pgsql.vim
+++ b/indent/pgsql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/pgsql.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, 'pgsql') == -1
" Vim indent file
diff --git a/indent/plantuml.vim b/indent/plantuml.vim
index 0553e706..414ea989 100644
--- a/indent/plantuml.vim
+++ b/indent/plantuml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/plantuml.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, 'plantuml') == -1
scriptencoding utf-8
diff --git a/indent/pony.vim b/indent/pony.vim
index 2b6e3e51..32a4c107 100644
--- a/indent/pony.vim
+++ b/indent/pony.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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 indent file
diff --git a/indent/postscr.vim b/indent/postscr.vim
index 04e91cc4..1f8e563c 100644
--- a/indent/postscr.vim
+++ b/indent/postscr.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/postscr.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, 'postscr') == -1
" PostScript indent file
diff --git a/indent/pov.vim b/indent/pov.vim
index dca8d2e1..747a2135 100644
--- a/indent/pov.vim
+++ b/indent/pov.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/pov.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, 'pov') == -1
" Vim indent file
diff --git a/indent/prolog.vim b/indent/prolog.vim
index 0426a473..e4eb14dc 100644
--- a/indent/prolog.vim
+++ b/indent/prolog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/prolog.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, 'prolog') == -1
" vim: set sw=4 sts=4:
diff --git a/indent/proto.vim b/indent/proto.vim
index b09816b1..d932d146 100644
--- a/indent/proto.vim
+++ b/indent/proto.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/proto.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, 'protobuf') == -1
" Vim indent file
diff --git a/indent/ps1.vim b/indent/ps1.vim
index 810bdafc..da13602a 100644
--- a/indent/ps1.vim
+++ b/indent/ps1.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ps1.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, 'powershell') == -1
" Vim indent file
diff --git a/indent/pug.vim b/indent/pug.vim
index 291ebfc6..175abe39 100644
--- a/indent/pug.vim
+++ b/indent/pug.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/pug.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, 'pug') == -1
" Vim indent file
diff --git a/indent/puppet.vim b/indent/puppet.vim
index 6d733c84..8a536690 100644
--- a/indent/puppet.vim
+++ b/indent/puppet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/puppet.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
" Vim indent file
diff --git a/indent/purescript.vim b/indent/purescript.vim
index 5d01bba4..fb83604d 100644
--- a/indent/purescript.vim
+++ b/indent/purescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/purescript.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, 'purescript') == -1
" indentation for purescript
diff --git a/indent/pyrex.vim b/indent/pyrex.vim
index c4662c31..9440efeb 100644
--- a/indent/pyrex.vim
+++ b/indent/pyrex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/pyrex.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, 'pyrex') == -1
" Vim indent file
diff --git a/indent/python.vim b/indent/python.vim
index 156833d4..8128d26c 100644
--- a/indent/python.vim
+++ b/indent/python.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/python.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-indent') == -1
" PEP8 compatible Python indent file
diff --git a/indent/qml.vim b/indent/qml.vim
index 2a5b5d4f..5d02a475 100644
--- a/indent/qml.vim
+++ b/indent/qml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/qml.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, 'qml') == -1
" Vim indent file
diff --git a/indent/racket.vim b/indent/racket.vim
index be620b7b..966bb8ce 100644
--- a/indent/racket.vim
+++ b/indent/racket.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/racket.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, 'racket') == -1
" Language: Racket
diff --git a/indent/raku.vim b/indent/raku.vim
index 9a508e45..ef3976af 100644
--- a/indent/raku.vim
+++ b/indent/raku.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/raku.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, 'raku') == -1
" Vim indent file
diff --git a/indent/razor.vim b/indent/razor.vim
index d3990890..8465fb7f 100644
--- a/indent/razor.vim
+++ b/indent/razor.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/razor.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, 'razor') == -1
" Vim indent file
diff --git a/indent/readline.vim b/indent/readline.vim
index 5c83059d..9aa70349 100644
--- a/indent/readline.vim
+++ b/indent/readline.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/readline.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, 'readline') == -1
" Vim indent file
diff --git a/indent/reason.vim b/indent/reason.vim
index 7ee5c6db..11a6c4e0 100644
--- a/indent/reason.vim
+++ b/indent/reason.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/reason.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, 'reason') == -1
" Vim indent file
diff --git a/indent/rmd.vim b/indent/rmd.vim
index 25ec7023..e52686b4 100644
--- a/indent/rmd.vim
+++ b/indent/rmd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/rmd.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, 'rmd') == -1
" Vim indent file
diff --git a/indent/rnoweb.vim b/indent/rnoweb.vim
index 0abe0128..54e7dab2 100644
--- a/indent/rnoweb.vim
+++ b/indent/rnoweb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/rnoweb.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, 'rnoweb') == -1
" Vim indent file
diff --git a/indent/rpl.vim b/indent/rpl.vim
index bc4420b5..bc674b4d 100644
--- a/indent/rpl.vim
+++ b/indent/rpl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/rpl.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, 'rpl') == -1
" Vim indent file
diff --git a/indent/rrst.vim b/indent/rrst.vim
index 9d346ce2..32fd82d3 100644
--- a/indent/rrst.vim
+++ b/indent/rrst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/rrst.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, 'rrst') == -1
" Vim indent file
diff --git a/indent/rst.vim b/indent/rst.vim
index 0eb0f9c6..82e6a812 100644
--- a/indent/rst.vim
+++ b/indent/rst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/rst.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
" Vim indent file
diff --git a/indent/ruby.vim b/indent/ruby.vim
index 1f2313cd..37363d9f 100644
--- a/indent/ruby.vim
+++ b/indent/ruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/ruby.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 indent file
diff --git a/indent/rust.vim b/indent/rust.vim
index 69070b46..69fdb078 100644
--- a/indent/rust.vim
+++ b/indent/rust.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Vim indent file
diff --git a/indent/sas.vim b/indent/sas.vim
index 8fad4690..4eac68cb 100644
--- a/indent/sas.vim
+++ b/indent/sas.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/sas.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, 'sas') == -1
" Vim indent file
diff --git a/indent/sass.vim b/indent/sass.vim
index f0169e42..d59a1aba 100644
--- a/indent/sass.vim
+++ b/indent/sass.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/sass.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, 'sass') == -1
" Vim indent file
diff --git a/indent/scala.vim b/indent/scala.vim
index d77c0075..f29f80b8 100644
--- a/indent/scala.vim
+++ b/indent/scala.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/scala.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, 'scala') == -1
" Vim indent file
diff --git a/indent/scheme.vim b/indent/scheme.vim
index 8faac9b8..1524ce88 100644
--- a/indent/scheme.vim
+++ b/indent/scheme.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/scheme.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, 'scheme') == -1
" Vim indent file
diff --git a/indent/scss.vim b/indent/scss.vim
index 331fb78b..c955aeb9 100644
--- a/indent/scss.vim
+++ b/indent/scss.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/scss.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, 'scss') == -1
" Vim indent file
diff --git a/indent/sdl.vim b/indent/sdl.vim
index 10d494dc..eb6b783f 100644
--- a/indent/sdl.vim
+++ b/indent/sdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/sdl.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, 'sdl') == -1
" Vim indent file
diff --git a/indent/slim.vim b/indent/slim.vim
index 81762b1d..5c10c83c 100644
--- a/indent/slim.vim
+++ b/indent/slim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/slim.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, 'slim') == -1
" Vim indent file
diff --git a/indent/slime.vim b/indent/slime.vim
index 0cb565ac..366ad4e0 100644
--- a/indent/slime.vim
+++ b/indent/slime.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/slime.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, 'slime') == -1
" Vim indent file
diff --git a/indent/sml.vim b/indent/sml.vim
index 13b35a86..b1d15bc1 100644
--- a/indent/sml.vim
+++ b/indent/sml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/sml.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, 'sml') == -1
" Vim indent file
diff --git a/indent/solidity.vim b/indent/solidity.vim
index d80e5566..a3c9b45d 100644
--- a/indent/solidity.vim
+++ b/indent/solidity.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/solidity.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, 'solidity') == -1
" Vim indent file
diff --git a/indent/sql.vim b/indent/sql.vim
index 49584524..49b2a638 100644
--- a/indent/sql.vim
+++ b/indent/sql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/sql.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, 'sql') == -1
" Vim indent file loader
diff --git a/indent/sshconfig.vim b/indent/sshconfig.vim
index c25e297d..a0d7f7d2 100644
--- a/indent/sshconfig.vim
+++ b/indent/sshconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/sshconfig.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, 'sshconfig') == -1
" Vim indent file
diff --git a/indent/stylus.vim b/indent/stylus.vim
index 009bf499..584f4de5 100644
--- a/indent/stylus.vim
+++ b/indent/stylus.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/stylus.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, 'stylus') == -1
" Vim indent file
diff --git a/indent/svelte.vim b/indent/svelte.vim
index 8d9fbb2f..00e65db6 100644
--- a/indent/svelte.vim
+++ b/indent/svelte.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/svelte.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, 'svelte') == -1
" Vim indent file
diff --git a/indent/svg.vim b/indent/svg.vim
index 32057362..5bf84360 100644
--- a/indent/svg.vim
+++ b/indent/svg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/svg.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, 'svg-indent') == -1
" Vim indent file
diff --git a/indent/swift.vim b/indent/swift.vim
index edaf4c99..dc09cc5d 100644
--- a/indent/swift.vim
+++ b/indent/swift.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/swift.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, 'swift') == -1
" File: swift.vim
diff --git a/indent/systemverilog.vim b/indent/systemverilog.vim
index 82b27794..015a60dd 100644
--- a/indent/systemverilog.vim
+++ b/indent/systemverilog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/systemverilog.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, 'systemverilog') == -1
" Vim indent file
diff --git a/indent/tcl.vim b/indent/tcl.vim
index 3ad7b4e1..be81acbd 100644
--- a/indent/tcl.vim
+++ b/indent/tcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/tcl.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, 'tcl') == -1
" Vim indent file
diff --git a/indent/teraterm.vim b/indent/teraterm.vim
index cde67689..c55127b6 100644
--- a/indent/teraterm.vim
+++ b/indent/teraterm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/teraterm.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, 'teraterm') == -1
" Vim indent file
diff --git a/indent/terraform.vim b/indent/terraform.vim
index 4f536c48..d0358e3d 100644
--- a/indent/terraform.vim
+++ b/indent/terraform.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Only load this file if no other indent file was loaded
diff --git a/indent/tex.vim b/indent/tex.vim
index 54c45307..71aea3f3 100644
--- a/indent/tex.vim
+++ b/indent/tex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/tex.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, 'tex') == -1
" Vim indent file
diff --git a/indent/tf.vim b/indent/tf.vim
index ba22883c..0f388869 100644
--- a/indent/tf.vim
+++ b/indent/tf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/tf.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, 'tf') == -1
" Vim indent file
diff --git a/indent/tilde.vim b/indent/tilde.vim
index 4d5fdf30..30551dd3 100644
--- a/indent/tilde.vim
+++ b/indent/tilde.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/tilde.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, 'tilde') == -1
"Description: Indent scheme for the tilde weblanguage
diff --git a/indent/treetop.vim b/indent/treetop.vim
index 13cb3e44..1c565846 100644
--- a/indent/treetop.vim
+++ b/indent/treetop.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/treetop.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, 'treetop') == -1
" Vim indent file
diff --git a/indent/twig.vim b/indent/twig.vim
index a0782946..0f52b6b0 100644
--- a/indent/twig.vim
+++ b/indent/twig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/twig.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, 'twig') == -1
if exists("b:ran_once")
diff --git a/indent/typescript.vim b/indent/typescript.vim
index 64eca31b..53f716d2 100644
--- a/indent/typescript.vim
+++ b/indent/typescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/typescript.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, 'typescript') == -1
" Vim indent file
diff --git a/indent/typescriptreact.vim b/indent/typescriptreact.vim
index 65db50dc..52bb0eda 100644
--- a/indent/typescriptreact.vim
+++ b/indent/typescriptreact.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/typescriptreact.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, 'typescript') == -1
exe 'runtime! indent/typescript.vim'
diff --git a/indent/vala.vim b/indent/vala.vim
index f9339eb5..ecf4cc29 100644
--- a/indent/vala.vim
+++ b/indent/vala.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/vala.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, 'vala') == -1
" Vim indent file
diff --git a/indent/vb.vim b/indent/vb.vim
index 129c2abd..d4eaa2ec 100644
--- a/indent/vb.vim
+++ b/indent/vb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/vb.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, 'visual-basic') == -1
" Vim indent file
diff --git a/indent/velocity.vim b/indent/velocity.vim
index 2a0b7143..43015f06 100644
--- a/indent/velocity.vim
+++ b/indent/velocity.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/velocity.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, 'velocity') == -1
if exists("b:did_indent")
diff --git a/indent/verilog.vim b/indent/verilog.vim
index 43213a8d..9e6fcddc 100644
--- a/indent/verilog.vim
+++ b/indent/verilog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/verilog.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, 'verilog') == -1
" Language: Verilog HDL
diff --git a/indent/vhdl.vim b/indent/vhdl.vim
index 5e9bfd4e..55e8974a 100644
--- a/indent/vhdl.vim
+++ b/indent/vhdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/vhdl.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, 'vhdl') == -1
" VHDL indent ('93 syntax)
diff --git a/indent/vlang.vim b/indent/vlang.vim
index 71c0021b..bfff3d37 100644
--- a/indent/vlang.vim
+++ b/indent/vlang.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/vlang.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, 'v') == -1
" Based on the Go identation file.
diff --git a/indent/vroom.vim b/indent/vroom.vim
index 9ed918c6..40ee746b 100644
--- a/indent/vroom.vim
+++ b/indent/vroom.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/vroom.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, 'vroom') == -1
" Vim indent file
diff --git a/indent/vue.vim b/indent/vue.vim
index 2f601959..41b8051b 100644
--- a/indent/vue.vim
+++ b/indent/vue.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/vue.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, 'vue') == -1
" Vim indent file
diff --git a/indent/wast.vim b/indent/wast.vim
index abc5bfbd..870874c6 100644
--- a/indent/wast.vim
+++ b/indent/wast.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/wast.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, 'wast') == -1
" Vim indent file
diff --git a/indent/xf86conf.vim b/indent/xf86conf.vim
index 261c4416..7d1ccbe4 100644
--- a/indent/xf86conf.vim
+++ b/indent/xf86conf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/xf86conf.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, 'xf86conf') == -1
" Vim indent file
diff --git a/indent/xhtml.vim b/indent/xhtml.vim
index abe08ba3..2f95f592 100644
--- a/indent/xhtml.vim
+++ b/indent/xhtml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/xhtml.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, 'xhtml') == -1
" Vim indent file
diff --git a/indent/xinetd.vim b/indent/xinetd.vim
index 4ee1a76f..2056eb50 100644
--- a/indent/xinetd.vim
+++ b/indent/xinetd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/xinetd.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, 'xinetd') == -1
" Vim indent file
diff --git a/indent/xsd.vim b/indent/xsd.vim
index c12f73c7..bb0051f1 100644
--- a/indent/xsd.vim
+++ b/indent/xsd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/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
" Vim indent file
diff --git a/indent/xslt.vim b/indent/xslt.vim
index e31f9aca..f8660431 100644
--- a/indent/xslt.vim
+++ b/indent/xslt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/xslt.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, 'xslt') == -1
" Vim indent file
diff --git a/indent/yacc.vim b/indent/yacc.vim
index 9ebb7f49..c42be8bd 100644
--- a/indent/yacc.vim
+++ b/indent/yacc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/yacc.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, 'yacc') == -1
" Vim indent file
diff --git a/indent/yaml.vim b/indent/yaml.vim
index c7fdebcf..7bb1c7da 100644
--- a/indent/yaml.vim
+++ b/indent/yaml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/yaml.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, 'yaml') == -1
" Vim indent file
diff --git a/indent/zig.vim b/indent/zig.vim
index 1fc11298..3ce6b88c 100644
--- a/indent/zig.vim
+++ b/indent/zig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/zig.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
" indent/zig.vim
diff --git a/indent/zimbu.vim b/indent/zimbu.vim
index 20354401..593a6557 100644
--- a/indent/zimbu.vim
+++ b/indent/zimbu.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'indent/zimbu.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, 'zimbu') == -1
" Vim indent file
diff --git a/scripts/build b/scripts/build
index efae3219..7d678e43 100755
--- a/scripts/build
+++ b/scripts/build
@@ -293,6 +293,15 @@ def copy_file(name, src, dest)
open(src, "r") do |input|
open(dest, "w") do |output|
+ if dest.match?(/\.vim$/) && !dest.match('after/')
+ output << <<~EOF
+ let files = filter(globpath(&rtp, '#{dest}', 1, 1), { _, v -> v !~ "vim-polyglot" && v !~ $VIMRUNTIME && v !~ "after" })
+ if len(files) > 0
+ exec 'source ' . files[0]
+ finish
+ endif
+ EOF
+ end
if name == "jsx"
output << "if !exists('g:polyglot_disabled') || (index(g:polyglot_disabled, 'javascript') == -1 && index(g:polyglot_disabled, 'jsx') == -1)\n\n"
else
diff --git a/syntax/8th.vim b/syntax/8th.vim
index 9eae523f..77b0db4d 100644
--- a/syntax/8th.vim
+++ b/syntax/8th.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/8th.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, '8th') == -1
" Vim syntax file
diff --git a/syntax/Jenkinsfile.vim b/syntax/Jenkinsfile.vim
index 3f175903..6db426f3 100644
--- a/syntax/Jenkinsfile.vim
+++ b/syntax/Jenkinsfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/Jenkinsfile.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, 'jenkins') == -1
runtime syntax/groovy.vim
diff --git a/syntax/a2ps.vim b/syntax/a2ps.vim
index 3c0900e9..1e19b543 100644
--- a/syntax/a2ps.vim
+++ b/syntax/a2ps.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/a2ps.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, 'a2ps') == -1
" Vim syntax file
diff --git a/syntax/a65.vim b/syntax/a65.vim
index 01215767..49ebfa54 100644
--- a/syntax/a65.vim
+++ b/syntax/a65.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/a65.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, 'a65') == -1
" Vim syntax file
diff --git a/syntax/aap.vim b/syntax/aap.vim
index 7c443ac2..3bfbdf0e 100644
--- a/syntax/aap.vim
+++ b/syntax/aap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/aap.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, 'aap') == -1
" Vim syntax file
diff --git a/syntax/abap.vim b/syntax/abap.vim
index 7115c3d8..f813d783 100644
--- a/syntax/abap.vim
+++ b/syntax/abap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/abap.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, 'abap') == -1
" Vim ABAP syntax file
diff --git a/syntax/abaqus.vim b/syntax/abaqus.vim
index a54e9fe8..27617bca 100644
--- a/syntax/abaqus.vim
+++ b/syntax/abaqus.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/abaqus.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, 'abaqus') == -1
" Vim syntax file
diff --git a/syntax/abc.vim b/syntax/abc.vim
index a44a929d..69e06240 100644
--- a/syntax/abc.vim
+++ b/syntax/abc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/abc.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, 'abc') == -1
" Vim syntax file
diff --git a/syntax/abel.vim b/syntax/abel.vim
index 4cd9e35f..be84cb0d 100644
--- a/syntax/abel.vim
+++ b/syntax/abel.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/abel.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, 'abel') == -1
" Vim syntax file
diff --git a/syntax/acedb.vim b/syntax/acedb.vim
index b382bdd3..26de8945 100644
--- a/syntax/acedb.vim
+++ b/syntax/acedb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/acedb.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, 'acedb') == -1
" Vim syntax file
diff --git a/syntax/ada.vim b/syntax/ada.vim
index f8093d8a..aeea3449 100644
--- a/syntax/ada.vim
+++ b/syntax/ada.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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/syntax/ahdl.vim b/syntax/ahdl.vim
index 1457255e..825e7df3 100644
--- a/syntax/ahdl.vim
+++ b/syntax/ahdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ahdl.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, 'ahdl') == -1
" Vim syn file
diff --git a/syntax/aidl.vim b/syntax/aidl.vim
index d9c88ab4..530e1626 100644
--- a/syntax/aidl.vim
+++ b/syntax/aidl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/aidl.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, 'aidl') == -1
" Vim syntax file
diff --git a/syntax/alsaconf.vim b/syntax/alsaconf.vim
index 152c2c9f..6331bbce 100644
--- a/syntax/alsaconf.vim
+++ b/syntax/alsaconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/alsaconf.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, 'alsaconf') == -1
" Vim syntax file
diff --git a/syntax/aml.vim b/syntax/aml.vim
index 44f62fac..c5ed3a57 100644
--- a/syntax/aml.vim
+++ b/syntax/aml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/aml.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, 'aml') == -1
" Vim syntax file
diff --git a/syntax/ampl.vim b/syntax/ampl.vim
index 699d33dc..57b76abc 100644
--- a/syntax/ampl.vim
+++ b/syntax/ampl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ampl.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, 'ampl') == -1
" Language: ampl (A Mathematical Programming Language)
diff --git a/syntax/ansible.vim b/syntax/ansible.vim
index 72dc977c..7bbf5157 100644
--- a/syntax/ansible.vim
+++ b/syntax/ansible.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ansible.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, 'ansible') == -1
" Vim syntax file
diff --git a/syntax/ansible_hosts.vim b/syntax/ansible_hosts.vim
index 5bdf0530..cb5f68c6 100644
--- a/syntax/ansible_hosts.vim
+++ b/syntax/ansible_hosts.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ansible_hosts.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, 'ansible') == -1
" Vim syntax file
diff --git a/syntax/ant.vim b/syntax/ant.vim
index 0930401a..ea81e2f5 100644
--- a/syntax/ant.vim
+++ b/syntax/ant.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ant.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, 'ant') == -1
" Vim syntax file
diff --git a/syntax/apache.vim b/syntax/apache.vim
index 737f478f..b1858263 100644
--- a/syntax/apache.vim
+++ b/syntax/apache.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/apache.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, 'apache') == -1
" Vim syntax file
diff --git a/syntax/apachestyle.vim b/syntax/apachestyle.vim
index 0eb4015e..57f40134 100644
--- a/syntax/apachestyle.vim
+++ b/syntax/apachestyle.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/apachestyle.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, 'apachestyle') == -1
" Vim syntax file
diff --git a/syntax/apiblueprint.vim b/syntax/apiblueprint.vim
index 2c1b1537..76c03611 100644
--- a/syntax/apiblueprint.vim
+++ b/syntax/apiblueprint.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/apiblueprint.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, 'apiblueprint') == -1
runtime! syntax/markdown.vim
diff --git a/syntax/applescript.vim b/syntax/applescript.vim
index 53066e07..8da47afb 100644
--- a/syntax/applescript.vim
+++ b/syntax/applescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/applescript.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, 'applescript') == -1
" Vim syntax file
diff --git a/syntax/aptconf.vim b/syntax/aptconf.vim
index 4d88ce65..4d7b252f 100644
--- a/syntax/aptconf.vim
+++ b/syntax/aptconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/aptconf.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, 'aptconf') == -1
" Vim syntax file
diff --git a/syntax/arch.vim b/syntax/arch.vim
index 1491b723..3f9b913a 100644
--- a/syntax/arch.vim
+++ b/syntax/arch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/arch.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, 'arch') == -1
" Vim syntax file
diff --git a/syntax/arduino.vim b/syntax/arduino.vim
index 4511d6cc..8d29bf1e 100644
--- a/syntax/arduino.vim
+++ b/syntax/arduino.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/arduino.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, 'arduino') == -1
" Vim syntax file
diff --git a/syntax/art.vim b/syntax/art.vim
index 0e032c2d..73e10e63 100644
--- a/syntax/art.vim
+++ b/syntax/art.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/art.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, 'art') == -1
" Vim syntax file
diff --git a/syntax/asciidoc.vim b/syntax/asciidoc.vim
index d4c0962e..afbc905f 100644
--- a/syntax/asciidoc.vim
+++ b/syntax/asciidoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/asciidoc.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, 'asciidoc') == -1
" Vim syntax file
diff --git a/syntax/asl.vim b/syntax/asl.vim
index b108b1eb..bc8a0950 100644
--- a/syntax/asl.vim
+++ b/syntax/asl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/asl.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, 'acpiasl') == -1
" Vim syntax file
diff --git a/syntax/asn.vim b/syntax/asn.vim
index 55d1b1fa..d355ce43 100644
--- a/syntax/asn.vim
+++ b/syntax/asn.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/asn.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, 'asn') == -1
" Vim syntax file
diff --git a/syntax/aspperl.vim b/syntax/aspperl.vim
index 18933caf..4a2c553d 100644
--- a/syntax/aspperl.vim
+++ b/syntax/aspperl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/aspperl.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, 'aspperl') == -1
" Vim syntax file
diff --git a/syntax/aspvbs.vim b/syntax/aspvbs.vim
index d9cf40c6..b008f672 100644
--- a/syntax/aspvbs.vim
+++ b/syntax/aspvbs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/aspvbs.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, 'aspvbs') == -1
" Vim syntax file
diff --git a/syntax/asterisk.vim b/syntax/asterisk.vim
index e065fb4a..7318d847 100644
--- a/syntax/asterisk.vim
+++ b/syntax/asterisk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/asterisk.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, 'asterisk') == -1
" Vim syntax file
diff --git a/syntax/asteriskvm.vim b/syntax/asteriskvm.vim
index 8a4c079a..df563e2d 100644
--- a/syntax/asteriskvm.vim
+++ b/syntax/asteriskvm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/asteriskvm.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, 'asteriskvm') == -1
" Vim syntax file
diff --git a/syntax/atlas.vim b/syntax/atlas.vim
index d74e9c43..4341c201 100644
--- a/syntax/atlas.vim
+++ b/syntax/atlas.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/atlas.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, 'atlas') == -1
" Vim syntax file
diff --git a/syntax/autodoc.vim b/syntax/autodoc.vim
index 5fcc60ca..c3ec62eb 100644
--- a/syntax/autodoc.vim
+++ b/syntax/autodoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/autodoc.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, 'autodoc') == -1
" Vim syntax file
diff --git a/syntax/autoit.vim b/syntax/autoit.vim
index 2cdac618..43920246 100644
--- a/syntax/autoit.vim
+++ b/syntax/autoit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/autoit.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, 'autoit') == -1
" Vim syntax file
diff --git a/syntax/automake.vim b/syntax/automake.vim
index be0cbb92..86cc7578 100644
--- a/syntax/automake.vim
+++ b/syntax/automake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/automake.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, 'automake') == -1
" Vim syntax file
diff --git a/syntax/ave.vim b/syntax/ave.vim
index 71a88cc3..340e3a5e 100644
--- a/syntax/ave.vim
+++ b/syntax/ave.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ave.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, 'ave') == -1
" Vim syntax file
diff --git a/syntax/awk.vim b/syntax/awk.vim
index 342a49b7..ae4c92ea 100644
--- a/syntax/awk.vim
+++ b/syntax/awk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/awk.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, 'awk') == -1
" Vim syntax file
diff --git a/syntax/b.vim b/syntax/b.vim
index 588fdebc..c05ab6b2 100644
--- a/syntax/b.vim
+++ b/syntax/b.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/b.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, 'b') == -1
" Vim syntax file
diff --git a/syntax/basic.vim b/syntax/basic.vim
index f2aa1bc4..24a8b097 100644
--- a/syntax/basic.vim
+++ b/syntax/basic.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic.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, 'basic') == -1
" Vim syntax file
diff --git a/syntax/basic/class.vim b/syntax/basic/class.vim
index 303d2077..dea703aa 100644
--- a/syntax/basic/class.vim
+++ b/syntax/basic/class.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/class.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, 'typescript') == -1
"don't add typescriptMembers to nextgroup, let outer scope match it
diff --git a/syntax/basic/cluster.vim b/syntax/basic/cluster.vim
index 8538c517..f5eb59d1 100644
--- a/syntax/basic/cluster.vim
+++ b/syntax/basic/cluster.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/cluster.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, 'typescript') == -1
"Block VariableStatement EmptyStatement ExpressionStatement IfStatement IterationStatement ContinueStatement BreakStatement ReturnStatement WithStatement LabelledStatement SwitchStatement ThrowStatement TryStatement DebuggerStatement
diff --git a/syntax/basic/decorator.vim b/syntax/basic/decorator.vim
index 2a7a1dd1..7f5456cd 100644
--- a/syntax/basic/decorator.vim
+++ b/syntax/basic/decorator.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/decorator.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, 'typescript') == -1
syntax match typescriptDecorator /@\([_$a-zA-Z][_$a-zA-Z0-9]*\.\)*[_$a-zA-Z][_$a-zA-Z0-9]*\>/
diff --git a/syntax/basic/doc.vim b/syntax/basic/doc.vim
index 50f03e29..2bf5d614 100644
--- a/syntax/basic/doc.vim
+++ b/syntax/basic/doc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/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, 'typescript') == -1
"Syntax coloring for Node.js shebang line
diff --git a/syntax/basic/function.vim b/syntax/basic/function.vim
index e1743ab5..ac94b9a1 100644
--- a/syntax/basic/function.vim
+++ b/syntax/basic/function.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/function.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, 'typescript') == -1
syntax keyword typescriptAsyncFuncKeyword async
diff --git a/syntax/basic/identifiers.vim b/syntax/basic/identifiers.vim
index 6a7ba4b0..b03df011 100644
--- a/syntax/basic/identifiers.vim
+++ b/syntax/basic/identifiers.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/identifiers.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, 'typescript') == -1
syntax cluster afterIdentifier contains=
diff --git a/syntax/basic/keyword.vim b/syntax/basic/keyword.vim
index a810b545..ddb4e8a1 100644
--- a/syntax/basic/keyword.vim
+++ b/syntax/basic/keyword.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/keyword.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, 'typescript') == -1
"Import
diff --git a/syntax/basic/literal.vim b/syntax/basic/literal.vim
index 89d96bb0..6f092fcc 100644
--- a/syntax/basic/literal.vim
+++ b/syntax/basic/literal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/literal.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, 'typescript') == -1
"Syntax in the JavaScript code
diff --git a/syntax/basic/members.vim b/syntax/basic/members.vim
index 343559b9..7362eaf9 100644
--- a/syntax/basic/members.vim
+++ b/syntax/basic/members.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/members.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, 'typescript') == -1
syntax keyword typescriptConstructor contained constructor
diff --git a/syntax/basic/object.vim b/syntax/basic/object.vim
index 90c75a0a..6f5d1f28 100644
--- a/syntax/basic/object.vim
+++ b/syntax/basic/object.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/object.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, 'typescript') == -1
syntax region typescriptObjectLiteral matchgroup=typescriptBraces
diff --git a/syntax/basic/patch.vim b/syntax/basic/patch.vim
index 5531db79..a2ebd1da 100644
--- a/syntax/basic/patch.vim
+++ b/syntax/basic/patch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/patch.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, 'typescript') == -1
" patch for generated code
diff --git a/syntax/basic/reserved.vim b/syntax/basic/reserved.vim
index 14ea7565..0cfb36ac 100644
--- a/syntax/basic/reserved.vim
+++ b/syntax/basic/reserved.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/reserved.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, 'typescript') == -1
syntax cluster typescriptStrings contains=typescriptProp,typescriptString,typescriptTemplate,@typescriptComments,typescriptDocComment,typescriptRegexpString,typescriptPropertyName
diff --git a/syntax/basic/symbols.vim b/syntax/basic/symbols.vim
index 2799ed39..15490f80 100644
--- a/syntax/basic/symbols.vim
+++ b/syntax/basic/symbols.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/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, 'typescript') == -1
" + - ^ ~
diff --git a/syntax/basic/type.vim b/syntax/basic/type.vim
index 02e78237..378ecafe 100644
--- a/syntax/basic/type.vim
+++ b/syntax/basic/type.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/basic/type.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, 'typescript') == -1
" Types
diff --git a/syntax/bc.vim b/syntax/bc.vim
index c4c1acf7..35533f84 100644
--- a/syntax/bc.vim
+++ b/syntax/bc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bc.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, 'bc') == -1
" Vim syntax file
diff --git a/syntax/bdf.vim b/syntax/bdf.vim
index b6c0cf0d..548ef1b3 100644
--- a/syntax/bdf.vim
+++ b/syntax/bdf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bdf.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, 'bdf') == -1
" Vim syntax file
diff --git a/syntax/bib.vim b/syntax/bib.vim
index 218638eb..f59ab6ec 100644
--- a/syntax/bib.vim
+++ b/syntax/bib.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bib.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, 'bib') == -1
" Vim syntax file
diff --git a/syntax/bindzone.vim b/syntax/bindzone.vim
index c7e25646..d59c993d 100644
--- a/syntax/bindzone.vim
+++ b/syntax/bindzone.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bindzone.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, 'bindzone') == -1
" Vim syntax file
diff --git a/syntax/blade.vim b/syntax/blade.vim
index 77f1f083..da81031d 100644
--- a/syntax/blade.vim
+++ b/syntax/blade.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/blade.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, 'blade') == -1
" Vim syntax file
diff --git a/syntax/blank.vim b/syntax/blank.vim
index 056f6855..d5a80aa2 100644
--- a/syntax/blank.vim
+++ b/syntax/blank.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/blank.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, 'blank') == -1
" Vim syntax file
diff --git a/syntax/brewfile.vim b/syntax/brewfile.vim
index 4056c884..1f52c49b 100644
--- a/syntax/brewfile.vim
+++ b/syntax/brewfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/brewfile.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, 'brewfile') == -1
" Vim syntax file
diff --git a/syntax/bsdl.vim b/syntax/bsdl.vim
index 10ca5b8f..d23bfb28 100644
--- a/syntax/bsdl.vim
+++ b/syntax/bsdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bsdl.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, 'bsdl') == -1
" Vim syntax file
diff --git a/syntax/bst.vim b/syntax/bst.vim
index a5961842..87688f0c 100644
--- a/syntax/bst.vim
+++ b/syntax/bst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bst.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, 'bst') == -1
" Vim syntax file
diff --git a/syntax/bzl.vim b/syntax/bzl.vim
index 9c0c5781..aed4d6bb 100644
--- a/syntax/bzl.vim
+++ b/syntax/bzl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bzl.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, 'bzl') == -1
" Vim syntax file
diff --git a/syntax/bzr.vim b/syntax/bzr.vim
index 99db04d6..c641d25d 100644
--- a/syntax/bzr.vim
+++ b/syntax/bzr.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/bzr.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, 'bzr') == -1
" Vim syntax file
diff --git a/syntax/c.vim b/syntax/c.vim
index ff1cf9db..930bf561 100644
--- a/syntax/c.vim
+++ b/syntax/c.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/c.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, 'c/c++') == -1
" Vim syntax file
diff --git a/syntax/cabal-1.vim b/syntax/cabal-1.vim
index 7b9724bd..13618fbc 100644
--- a/syntax/cabal-1.vim
+++ b/syntax/cabal-1.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cabal.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, 'haskell') == -1
" syntax highlighting for cabal
diff --git a/syntax/cabal-2.vim b/syntax/cabal-2.vim
index e297a9bc..8f502ea0 100644
--- a/syntax/cabal-2.vim
+++ b/syntax/cabal-2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cabal-2.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, 'cabal') == -1
" Vim syntax file
diff --git a/syntax/caddyfile.vim b/syntax/caddyfile.vim
index da12cd77..59ee547c 100644
--- a/syntax/caddyfile.vim
+++ b/syntax/caddyfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/caddyfile.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, 'caddyfile') == -1
" Language: Caddyfile
diff --git a/syntax/calendar.vim b/syntax/calendar.vim
index c9b6c348..218b5db9 100644
--- a/syntax/calendar.vim
+++ b/syntax/calendar.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/calendar.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, 'calendar') == -1
" Vim syntax file
diff --git a/syntax/carp.vim b/syntax/carp.vim
index 7266360d..16976286 100644
--- a/syntax/carp.vim
+++ b/syntax/carp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/carp.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, 'carp') == -1
" Vim syntax file
diff --git a/syntax/catalog.vim b/syntax/catalog.vim
index 2efff8e3..1949e134 100644
--- a/syntax/catalog.vim
+++ b/syntax/catalog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/catalog.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, 'catalog') == -1
" Vim syntax file
diff --git a/syntax/cdl.vim b/syntax/cdl.vim
index 125029c6..d54fd30e 100644
--- a/syntax/cdl.vim
+++ b/syntax/cdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cdl.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, 'cdl') == -1
" Vim syntax file
diff --git a/syntax/cdrdaoconf.vim b/syntax/cdrdaoconf.vim
index dd90437a..41285ff5 100644
--- a/syntax/cdrdaoconf.vim
+++ b/syntax/cdrdaoconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cdrdaoconf.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, 'cdrdaoconf') == -1
" Vim syntax file
diff --git a/syntax/cdrtoc.vim b/syntax/cdrtoc.vim
index 2dc80fb3..3392635c 100644
--- a/syntax/cdrtoc.vim
+++ b/syntax/cdrtoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cdrtoc.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, 'cdrtoc') == -1
" Vim syntax file
diff --git a/syntax/cf.vim b/syntax/cf.vim
index 591f8c52..21d3f5a9 100644
--- a/syntax/cf.vim
+++ b/syntax/cf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cf.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, 'cf') == -1
" Vim syntax file
diff --git a/syntax/cfg.vim b/syntax/cfg.vim
index ff4272e3..a70a77f5 100644
--- a/syntax/cfg.vim
+++ b/syntax/cfg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cfg.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, 'cfg') == -1
" Vim syntax file
diff --git a/syntax/ch.vim b/syntax/ch.vim
index 00f49e01..0a6ee7c6 100644
--- a/syntax/ch.vim
+++ b/syntax/ch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ch.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, 'ch') == -1
" Vim syntax file
diff --git a/syntax/chaiscript.vim b/syntax/chaiscript.vim
index 7a84ec90..25653ce0 100644
--- a/syntax/chaiscript.vim
+++ b/syntax/chaiscript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/chaiscript.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, 'chaiscript') == -1
" Vim syntax file
diff --git a/syntax/chaskell.vim b/syntax/chaskell.vim
index e4d303d9..019a2d6b 100644
--- a/syntax/chaskell.vim
+++ b/syntax/chaskell.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/chaskell.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, 'chaskell') == -1
" Vim syntax file
diff --git a/syntax/chill.vim b/syntax/chill.vim
index 6385bc01..5ff41bea 100644
--- a/syntax/chill.vim
+++ b/syntax/chill.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/chill.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, 'chill') == -1
" Vim syntax file
diff --git a/syntax/chordpro.vim b/syntax/chordpro.vim
index e114f9a7..25dad67f 100644
--- a/syntax/chordpro.vim
+++ b/syntax/chordpro.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/chordpro.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, 'chordpro') == -1
" Vim syntax file
diff --git a/syntax/cl.vim b/syntax/cl.vim
index 3268d1e5..fe377a64 100644
--- a/syntax/cl.vim
+++ b/syntax/cl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cl.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, 'cl') == -1
" Vim syntax file
diff --git a/syntax/clean.vim b/syntax/clean.vim
index e618bf36..fc601012 100644
--- a/syntax/clean.vim
+++ b/syntax/clean.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/clean.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, 'clean') == -1
" Vim syntax file
diff --git a/syntax/clojure.vim b/syntax/clojure.vim
index 6ef9369b..e4a21ac5 100644
--- a/syntax/clojure.vim
+++ b/syntax/clojure.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/clojure.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 syntax file
diff --git a/syntax/cmake.vim b/syntax/cmake.vim
index a7c92953..0ea44d78 100644
--- a/syntax/cmake.vim
+++ b/syntax/cmake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cmake.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, 'cmake') == -1
" Vim syntax file
diff --git a/syntax/cmod.vim b/syntax/cmod.vim
index 7e5529c0..7d5fc740 100644
--- a/syntax/cmod.vim
+++ b/syntax/cmod.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cmod.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, 'cmod') == -1
" Vim syntax file
diff --git a/syntax/cmusrc.vim b/syntax/cmusrc.vim
index 1bcbd569..9325e550 100644
--- a/syntax/cmusrc.vim
+++ b/syntax/cmusrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cmusrc.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, 'cmusrc') == -1
" Vim syntax file
diff --git a/syntax/cobol.vim b/syntax/cobol.vim
index d3a723f3..2d238c83 100644
--- a/syntax/cobol.vim
+++ b/syntax/cobol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cobol.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, 'cobol') == -1
" Vim syntax file
diff --git a/syntax/coco.vim b/syntax/coco.vim
index 298279ad..5d914213 100644
--- a/syntax/coco.vim
+++ b/syntax/coco.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/coco.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, 'coco') == -1
" Vim syntax file
diff --git a/syntax/coffee.vim b/syntax/coffee.vim
index 2037d02d..043a907e 100644
--- a/syntax/coffee.vim
+++ b/syntax/coffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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/syntax/common.vim b/syntax/common.vim
index b5e5c16c..839254a6 100644
--- a/syntax/common.vim
+++ b/syntax/common.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/common.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, 'typescript') == -1
" Define the default highlighting.
diff --git a/syntax/conaryrecipe.vim b/syntax/conaryrecipe.vim
index 1406c686..f054be03 100644
--- a/syntax/conaryrecipe.vim
+++ b/syntax/conaryrecipe.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/conaryrecipe.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, 'conaryrecipe') == -1
" Vim syntax file
diff --git a/syntax/conf.vim b/syntax/conf.vim
index 209d92d9..9d64dc7e 100644
--- a/syntax/conf.vim
+++ b/syntax/conf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/conf.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, 'conf') == -1
" Vim syntax file
diff --git a/syntax/config.vim b/syntax/config.vim
index a3eb138e..d89e93c7 100644
--- a/syntax/config.vim
+++ b/syntax/config.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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, 'config') == -1
" Vim syntax file
diff --git a/syntax/cpp.vim b/syntax/cpp.vim
index 5ccc7d3d..26d1975f 100644
--- a/syntax/cpp.vim
+++ b/syntax/cpp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cpp.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, 'c/c++') == -1
" Vim syntax file
diff --git a/syntax/cql.vim b/syntax/cql.vim
index 2b6eeea5..f07f817d 100644
--- a/syntax/cql.vim
+++ b/syntax/cql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cql.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, 'cql') == -1
" Vim syntax file
diff --git a/syntax/crm.vim b/syntax/crm.vim
index a3d9db93..bfe5165a 100644
--- a/syntax/crm.vim
+++ b/syntax/crm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/crm.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, 'crm') == -1
" Vim syntax file
diff --git a/syntax/crontab.vim b/syntax/crontab.vim
index aa6cb20d..c858dab4 100644
--- a/syntax/crontab.vim
+++ b/syntax/crontab.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/crontab.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, 'crontab') == -1
" Vim syntax file
diff --git a/syntax/cryptol.vim b/syntax/cryptol.vim
index 97992369..c0256e54 100644
--- a/syntax/cryptol.vim
+++ b/syntax/cryptol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cryptol.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, 'cryptol') == -1
" Vim syntax file
diff --git a/syntax/crystal.vim b/syntax/crystal.vim
index 147bd050..0866b383 100644
--- a/syntax/crystal.vim
+++ b/syntax/crystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Language: Crystal
diff --git a/syntax/cs.vim b/syntax/cs.vim
index c86c7a9b..687c66c2 100644
--- a/syntax/cs.vim
+++ b/syntax/cs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cs.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, 'cs') == -1
" Vim syntax file
diff --git a/syntax/csc.vim b/syntax/csc.vim
index 07f538bb..5ee5668a 100644
--- a/syntax/csc.vim
+++ b/syntax/csc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/csc.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, 'csc') == -1
" Vim syntax file
diff --git a/syntax/csdl.vim b/syntax/csdl.vim
index 33fc8fbd..fe6c088f 100644
--- a/syntax/csdl.vim
+++ b/syntax/csdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/csdl.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, 'csdl') == -1
" Vim syntax file
diff --git a/syntax/csp.vim b/syntax/csp.vim
index e269b3f0..4a3b862e 100644
--- a/syntax/csp.vim
+++ b/syntax/csp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/csp.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, 'csp') == -1
" Vim syntax file
diff --git a/syntax/css.vim b/syntax/css.vim
index df65677d..2cf2645a 100644
--- a/syntax/css.vim
+++ b/syntax/css.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/css.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, 'css') == -1
" Vim syntax file
diff --git a/syntax/csv.vim b/syntax/csv.vim
index e212e2f3..574ac3de 100644
--- a/syntax/csv.vim
+++ b/syntax/csv.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" A simple syntax highlighting, simply alternate colors between two
diff --git a/syntax/cterm.vim b/syntax/cterm.vim
index 1fd031a1..85260cf2 100644
--- a/syntax/cterm.vim
+++ b/syntax/cterm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cterm.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, 'cterm') == -1
" Vim syntax file
diff --git a/syntax/cucumber.vim b/syntax/cucumber.vim
index 6cc43cf9..77123633 100644
--- a/syntax/cucumber.vim
+++ b/syntax/cucumber.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cucumber.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, 'cucumber') == -1
" Vim syntax file
diff --git a/syntax/cuda.vim b/syntax/cuda.vim
index 50a7657a..73e7c0df 100644
--- a/syntax/cuda.vim
+++ b/syntax/cuda.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cuda.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, 'cuda') == -1
" Vim syntax file
diff --git a/syntax/cuesheet.vim b/syntax/cuesheet.vim
index 4e30b725..f60af612 100644
--- a/syntax/cuesheet.vim
+++ b/syntax/cuesheet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cuesheet.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, 'cue') == -1
" Language: Cue sheet
diff --git a/syntax/cupl.vim b/syntax/cupl.vim
index 609c5071..81807257 100644
--- a/syntax/cupl.vim
+++ b/syntax/cupl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cupl.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, 'cupl') == -1
" Vim syntax file
diff --git a/syntax/cuplsim.vim b/syntax/cuplsim.vim
index fb1d4fc8..9f0ff45c 100644
--- a/syntax/cuplsim.vim
+++ b/syntax/cuplsim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cuplsim.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, 'cuplsim') == -1
" Vim syntax file
diff --git a/syntax/cvs.vim b/syntax/cvs.vim
index a83b74a5..3b3011da 100644
--- a/syntax/cvs.vim
+++ b/syntax/cvs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cvs.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, 'cvs') == -1
" Vim syntax file
diff --git a/syntax/cvsrc.vim b/syntax/cvsrc.vim
index ed12b502..999baf5a 100644
--- a/syntax/cvsrc.vim
+++ b/syntax/cvsrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cvsrc.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, 'cvsrc') == -1
" Vim syntax file
diff --git a/syntax/cynpp.vim b/syntax/cynpp.vim
index f64b0a69..5e870ae7 100644
--- a/syntax/cynpp.vim
+++ b/syntax/cynpp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/cynpp.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, 'cynpp') == -1
" Vim syntax file
diff --git a/syntax/d.vim b/syntax/d.vim
index 69100b9c..5f3f051b 100644
--- a/syntax/d.vim
+++ b/syntax/d.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/d.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, 'dlang') == -1
" Vim syntax file for the D programming language (version 1.076 and 2.069).
diff --git a/syntax/dart.vim b/syntax/dart.vim
index 68035dc8..5b0c1a98 100644
--- a/syntax/dart.vim
+++ b/syntax/dart.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Vim syntax file " Language: Dart
diff --git a/syntax/datascript.vim b/syntax/datascript.vim
index b24aa937..79a74867 100644
--- a/syntax/datascript.vim
+++ b/syntax/datascript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/datascript.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, 'datascript') == -1
" Vim syntax file
diff --git a/syntax/dcd.vim b/syntax/dcd.vim
index 4f26d0ba..17ffa851 100644
--- a/syntax/dcd.vim
+++ b/syntax/dcd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dcd.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, 'dcd') == -1
" Vim syntax file
diff --git a/syntax/dcov.vim b/syntax/dcov.vim
index bfd7b91c..007a7b48 100644
--- a/syntax/dcov.vim
+++ b/syntax/dcov.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dcov.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, 'dlang') == -1
" Vim syntax file for coverage information for the reference compiler (DMD) of
diff --git a/syntax/dd.vim b/syntax/dd.vim
index 2bfc2b0e..c634232a 100644
--- a/syntax/dd.vim
+++ b/syntax/dd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dd.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, 'dlang') == -1
runtime! /syntax/ddoc.vim
diff --git a/syntax/ddoc.vim b/syntax/ddoc.vim
index 0a4a9d49..5bca7082 100644
--- a/syntax/ddoc.vim
+++ b/syntax/ddoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ddoc.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, 'dlang') == -1
if &filetype == "ddoc"
diff --git a/syntax/debchangelog.vim b/syntax/debchangelog.vim
index f36398be..e7040ab3 100644
--- a/syntax/debchangelog.vim
+++ b/syntax/debchangelog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/debchangelog.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, 'debchangelog') == -1
" Vim syntax file
diff --git a/syntax/debcontrol.vim b/syntax/debcontrol.vim
index 74ea764d..0c246e56 100644
--- a/syntax/debcontrol.vim
+++ b/syntax/debcontrol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/debcontrol.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, 'debcontrol') == -1
" Vim syntax file
diff --git a/syntax/debcopyright.vim b/syntax/debcopyright.vim
index 2f985b1b..aded0dda 100644
--- a/syntax/debcopyright.vim
+++ b/syntax/debcopyright.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/debcopyright.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, 'debcopyright') == -1
" Vim syntax file
diff --git a/syntax/debsources.vim b/syntax/debsources.vim
index ec39b8b3..daa308d4 100644
--- a/syntax/debsources.vim
+++ b/syntax/debsources.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/debsources.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, 'debsources') == -1
" Vim syntax file
diff --git a/syntax/def.vim b/syntax/def.vim
index 413c4f3d..08455938 100644
--- a/syntax/def.vim
+++ b/syntax/def.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/def.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, 'def') == -1
" Vim syntax file
diff --git a/syntax/denyhosts.vim b/syntax/denyhosts.vim
index b1e47785..7a716af8 100644
--- a/syntax/denyhosts.vim
+++ b/syntax/denyhosts.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/denyhosts.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, 'denyhosts') == -1
" Vim syntax file
diff --git a/syntax/desc.vim b/syntax/desc.vim
index 990b0afb..413fd67b 100644
--- a/syntax/desc.vim
+++ b/syntax/desc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/desc.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, 'desc') == -1
" Vim syntax file
diff --git a/syntax/desktop.vim b/syntax/desktop.vim
index a35e7e84..015f2f17 100644
--- a/syntax/desktop.vim
+++ b/syntax/desktop.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/desktop.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, 'desktop') == -1
" Vim syntax file
diff --git a/syntax/dhall.vim b/syntax/dhall.vim
index c42e20d2..a52161bb 100644
--- a/syntax/dhall.vim
+++ b/syntax/dhall.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dhall.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, 'dhall') == -1
scriptencoding utf-8
diff --git a/syntax/dictconf.vim b/syntax/dictconf.vim
index 69727f71..e72bf0df 100644
--- a/syntax/dictconf.vim
+++ b/syntax/dictconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dictconf.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, 'dictconf') == -1
" Vim syntax file
diff --git a/syntax/dictdconf.vim b/syntax/dictdconf.vim
index c698fa81..85383c63 100644
--- a/syntax/dictdconf.vim
+++ b/syntax/dictdconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dictdconf.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, 'dictdconf') == -1
" Vim syntax file
diff --git a/syntax/diff.vim b/syntax/diff.vim
index 02299ad7..e9757b78 100644
--- a/syntax/diff.vim
+++ b/syntax/diff.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/diff.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, 'diff') == -1
" Vim syntax file
diff --git a/syntax/dircolors.vim b/syntax/dircolors.vim
index 00758289..dfd085a8 100644
--- a/syntax/dircolors.vim
+++ b/syntax/dircolors.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dircolors.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, 'dircolors') == -1
" Vim syntax file
diff --git a/syntax/django.vim b/syntax/django.vim
index b11caa98..51a6a3e7 100644
--- a/syntax/django.vim
+++ b/syntax/django.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/django.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, 'htmldjango') == -1
" Vim syntax file
diff --git a/syntax/dnsmasq.vim b/syntax/dnsmasq.vim
index 15f94343..b9f6b593 100644
--- a/syntax/dnsmasq.vim
+++ b/syntax/dnsmasq.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dnsmasq.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, 'dnsmasq') == -1
" Vim syntax file
diff --git a/syntax/docker-compose.vim b/syntax/docker-compose.vim
index 33582ec8..be0e07ef 100644
--- a/syntax/docker-compose.vim
+++ b/syntax/docker-compose.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/docker-compose.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, 'docker-compose') == -1
" Vim syntax file
diff --git a/syntax/dockerfile.vim b/syntax/dockerfile.vim
index 35ed34da..2480c7fc 100644
--- a/syntax/dockerfile.vim
+++ b/syntax/dockerfile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dockerfile.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, 'dockerfile') == -1
" dockerfile.vim - Syntax highlighting for Dockerfiles
diff --git a/syntax/dosbatch.vim b/syntax/dosbatch.vim
index 5145062a..a9b93ceb 100644
--- a/syntax/dosbatch.vim
+++ b/syntax/dosbatch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dosbatch.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, 'dosbatch') == -1
" Vim syntax file
diff --git a/syntax/dosini.vim b/syntax/dosini.vim
index e84448b4..c052ba7c 100644
--- a/syntax/dosini.vim
+++ b/syntax/dosini.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dosini.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, 'dosini') == -1
" Vim syntax file
diff --git a/syntax/dot.vim b/syntax/dot.vim
index cf8899c1..1f8d50ba 100644
--- a/syntax/dot.vim
+++ b/syntax/dot.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dot.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, 'dot') == -1
" Vim syntax file
diff --git a/syntax/dracula.vim b/syntax/dracula.vim
index a8feff9f..10c45b21 100644
--- a/syntax/dracula.vim
+++ b/syntax/dracula.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dracula.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, 'dracula') == -1
" Vim syntax file
diff --git a/syntax/dsdl.vim b/syntax/dsdl.vim
index c7cc2425..db2ddb80 100644
--- a/syntax/dsdl.vim
+++ b/syntax/dsdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dsdl.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, 'dlang') == -1
" Vim syntax file for DUB configurations."
diff --git a/syntax/dsl.vim b/syntax/dsl.vim
index 68872114..602b1792 100644
--- a/syntax/dsl.vim
+++ b/syntax/dsl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dsl.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, 'dsl') == -1
" Vim syntax file
diff --git a/syntax/dtd.vim b/syntax/dtd.vim
index e78fb5e0..2145b2f0 100644
--- a/syntax/dtd.vim
+++ b/syntax/dtd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dtd.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, 'dtd') == -1
" Vim syntax file
diff --git a/syntax/dts.vim b/syntax/dts.vim
index 4a757966..17a6f0be 100644
--- a/syntax/dts.vim
+++ b/syntax/dts.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dts.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, 'dts') == -1
" Vim syntax file
diff --git a/syntax/dune.vim b/syntax/dune.vim
index 31925088..8433e47f 100644
--- a/syntax/dune.vim
+++ b/syntax/dune.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dune.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, 'ocaml') == -1
if exists("b:current_syntax")
diff --git a/syntax/dylan.vim b/syntax/dylan.vim
index acf802b9..d1db4dc0 100644
--- a/syntax/dylan.vim
+++ b/syntax/dylan.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dylan.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, 'dylan') == -1
" Vim syntax file
diff --git a/syntax/dylanintr.vim b/syntax/dylanintr.vim
index e8530a9c..65e645d6 100644
--- a/syntax/dylanintr.vim
+++ b/syntax/dylanintr.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dylanintr.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, 'dylanintr') == -1
" Vim syntax file
diff --git a/syntax/dylanlid.vim b/syntax/dylanlid.vim
index cf44d1ee..0bdac435 100644
--- a/syntax/dylanlid.vim
+++ b/syntax/dylanlid.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/dylanlid.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, 'dylanlid') == -1
" Vim syntax file
diff --git a/syntax/ecd.vim b/syntax/ecd.vim
index 3f120981..ef0973f1 100644
--- a/syntax/ecd.vim
+++ b/syntax/ecd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ecd.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, 'ecd') == -1
" Vim syntax file
diff --git a/syntax/ecrystal.vim b/syntax/ecrystal.vim
index 096990ff..7742ba15 100644
--- a/syntax/ecrystal.vim
+++ b/syntax/ecrystal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
if &syntax !~# '\<ecrystal\>' || get(b:, 'current_syntax') =~# '\<ecrystal\>'
diff --git a/syntax/edif.vim b/syntax/edif.vim
index dbea79d9..883cd77f 100644
--- a/syntax/edif.vim
+++ b/syntax/edif.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/edif.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, 'edif') == -1
" Vim syntax file
diff --git a/syntax/eelixir.vim b/syntax/eelixir.vim
index 1715f36e..92fe6a54 100644
--- a/syntax/eelixir.vim
+++ b/syntax/eelixir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/eelixir.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("b:current_syntax")
diff --git a/syntax/elf.vim b/syntax/elf.vim
index 67063f69..4dc7148d 100644
--- a/syntax/elf.vim
+++ b/syntax/elf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/elf.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, 'elf') == -1
" Vim syntax file
diff --git a/syntax/elinks.vim b/syntax/elinks.vim
index eb0d840f..41215404 100644
--- a/syntax/elinks.vim
+++ b/syntax/elinks.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/elinks.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, 'elinks') == -1
" Vim syntax file
diff --git a/syntax/elixir.vim b/syntax/elixir.vim
index 890bb279..8dee7cc4 100644
--- a/syntax/elixir.vim
+++ b/syntax/elixir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/elixir.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("main_syntax")
diff --git a/syntax/elm.vim b/syntax/elm.vim
index 474f21d0..115c4edb 100644
--- a/syntax/elm.vim
+++ b/syntax/elm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/elm.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, 'elm') == -1
" syntax highlighting for Elm (https://elm-lang.org/)
diff --git a/syntax/elmfilt.vim b/syntax/elmfilt.vim
index 650bc65b..d3e5820c 100644
--- a/syntax/elmfilt.vim
+++ b/syntax/elmfilt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/elmfilt.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, 'elmfilt') == -1
" Vim syntax file
diff --git a/syntax/embeddedpuppet.vim b/syntax/embeddedpuppet.vim
index 71096274..eca80ced 100644
--- a/syntax/embeddedpuppet.vim
+++ b/syntax/embeddedpuppet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/embeddedpuppet.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
" Vim syntax plugin
diff --git a/syntax/ember-script.vim b/syntax/ember-script.vim
index d034a67e..df931b37 100644
--- a/syntax/ember-script.vim
+++ b/syntax/ember-script.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ember-script.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, 'emberscript') == -1
" Language: ember-script
diff --git a/syntax/emblem.vim b/syntax/emblem.vim
index 00e7541d..b080ad7b 100644
--- a/syntax/emblem.vim
+++ b/syntax/emblem.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/emblem.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, 'emblem') == -1
" Language: emblem
diff --git a/syntax/erlang.vim b/syntax/erlang.vim
index 65b8059c..83f3be8b 100644
--- a/syntax/erlang.vim
+++ b/syntax/erlang.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/erlang.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, 'erlang') == -1
" Vim syntax file
diff --git a/syntax/eruby.vim b/syntax/eruby.vim
index 4de67ab5..3be2b5de 100644
--- a/syntax/eruby.vim
+++ b/syntax/eruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/eruby.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 syntax file
diff --git a/syntax/esmtprc.vim b/syntax/esmtprc.vim
index 9bd25923..e9123c9a 100644
--- a/syntax/esmtprc.vim
+++ b/syntax/esmtprc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/esmtprc.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, 'esmtprc') == -1
" Vim syntax file
diff --git a/syntax/esqlc.vim b/syntax/esqlc.vim
index c5480276..ea13abde 100644
--- a/syntax/esqlc.vim
+++ b/syntax/esqlc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/esqlc.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, 'esqlc') == -1
" Vim syntax file
diff --git a/syntax/esterel.vim b/syntax/esterel.vim
index 26afe315..b2e9298d 100644
--- a/syntax/esterel.vim
+++ b/syntax/esterel.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/esterel.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, 'esterel') == -1
" Vim syntax file
diff --git a/syntax/eterm.vim b/syntax/eterm.vim
index 45910482..1068f0d9 100644
--- a/syntax/eterm.vim
+++ b/syntax/eterm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/eterm.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, 'eterm') == -1
" Vim syntax file
diff --git a/syntax/exim.vim b/syntax/exim.vim
index 371a3aa4..dda5ef5c 100644
--- a/syntax/exim.vim
+++ b/syntax/exim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/exim.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, 'exim') == -1
" Vim syntax file
diff --git a/syntax/expect.vim b/syntax/expect.vim
index b80ff528..7ee59f56 100644
--- a/syntax/expect.vim
+++ b/syntax/expect.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/expect.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, 'expect') == -1
" Vim syntax file
diff --git a/syntax/exports.vim b/syntax/exports.vim
index 834cab5a..3587f07a 100644
--- a/syntax/exports.vim
+++ b/syntax/exports.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/exports.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, 'exports') == -1
" Vim syntax file
diff --git a/syntax/falcon.vim b/syntax/falcon.vim
index 2723461d..2b57e48b 100644
--- a/syntax/falcon.vim
+++ b/syntax/falcon.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/falcon.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, 'falcon') == -1
" Vim syntax file
diff --git a/syntax/fan.vim b/syntax/fan.vim
index f22c89c9..9f7c6efc 100644
--- a/syntax/fan.vim
+++ b/syntax/fan.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fan.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, 'fan') == -1
" Vim syntax file
diff --git a/syntax/fbs.vim b/syntax/fbs.vim
index 704732a4..82b826b3 100644
--- a/syntax/fbs.vim
+++ b/syntax/fbs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fbs.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, 'flatbuffers') == -1
if exists("b:current_syntax")
diff --git a/syntax/fennel.vim b/syntax/fennel.vim
index ec6f8084..e25abac6 100644
--- a/syntax/fennel.vim
+++ b/syntax/fennel.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fennel.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, 'fennel') == -1
" Vim syntax file
diff --git a/syntax/ferm.vim b/syntax/ferm.vim
index 8bb0aaf3..4a45b739 100644
--- a/syntax/ferm.vim
+++ b/syntax/ferm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ferm.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, 'ferm') == -1
"============================================================================
diff --git a/syntax/fetchmail.vim b/syntax/fetchmail.vim
index b2843c16..2e4a2575 100644
--- a/syntax/fetchmail.vim
+++ b/syntax/fetchmail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fetchmail.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, 'fetchmail') == -1
" Vim syntax file
diff --git a/syntax/fgl.vim b/syntax/fgl.vim
index a1e03f64..01b4d339 100644
--- a/syntax/fgl.vim
+++ b/syntax/fgl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fgl.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, 'fgl') == -1
" Vim syntax file
diff --git a/syntax/fish.vim b/syntax/fish.vim
index fef75cfb..5e55660e 100644
--- a/syntax/fish.vim
+++ b/syntax/fish.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
if exists('b:current_syntax')
diff --git a/syntax/flow.vim b/syntax/flow.vim
index ad4ba0a8..7999405c 100644
--- a/syntax/flow.vim
+++ b/syntax/flow.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/flow.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
runtime syntax/javascript.vim
diff --git a/syntax/focexec.vim b/syntax/focexec.vim
index 18b19188..e43e5e2f 100644
--- a/syntax/focexec.vim
+++ b/syntax/focexec.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/focexec.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, 'focexec') == -1
" Vim syntax file
diff --git a/syntax/forth.vim b/syntax/forth.vim
index dbdc120a..d3c8d309 100644
--- a/syntax/forth.vim
+++ b/syntax/forth.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/forth.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, 'forth') == -1
" Vim syntax file
diff --git a/syntax/fortran.vim b/syntax/fortran.vim
index 96b0fbe8..505b9b81 100644
--- a/syntax/fortran.vim
+++ b/syntax/fortran.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fortran.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, 'fortran') == -1
" Vim syntax file
diff --git a/syntax/framescript.vim b/syntax/framescript.vim
index 720f1d4a..1f0b99bf 100644
--- a/syntax/framescript.vim
+++ b/syntax/framescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/framescript.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, 'framescript') == -1
" Vim syntax file
diff --git a/syntax/freebasic.vim b/syntax/freebasic.vim
index cc932d63..ed844b74 100644
--- a/syntax/freebasic.vim
+++ b/syntax/freebasic.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/freebasic.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, 'freebasic') == -1
" Vim syntax file
diff --git a/syntax/fsharp.vim b/syntax/fsharp.vim
index ff92f6a6..d623207b 100644
--- a/syntax/fsharp.vim
+++ b/syntax/fsharp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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 syntax file
diff --git a/syntax/fstab.vim b/syntax/fstab.vim
index 256f2d04..02fc6d8b 100644
--- a/syntax/fstab.vim
+++ b/syntax/fstab.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fstab.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, 'fstab') == -1
" Vim syntax file
diff --git a/syntax/fvwm.vim b/syntax/fvwm.vim
index 9cd7cbc6..425c4cd8 100644
--- a/syntax/fvwm.vim
+++ b/syntax/fvwm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/fvwm.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, 'fvwm') == -1
" Vim syntax file for Fvwm-2.5.22
diff --git a/syntax/gdb.vim b/syntax/gdb.vim
index a99d6b88..d88b9b11 100644
--- a/syntax/gdb.vim
+++ b/syntax/gdb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gdb.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, 'gdb') == -1
" Vim syntax file
diff --git a/syntax/gdmo.vim b/syntax/gdmo.vim
index 134e7069..370af462 100644
--- a/syntax/gdmo.vim
+++ b/syntax/gdmo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gdmo.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, 'gdmo') == -1
" Vim syntax file
diff --git a/syntax/gdscript3.vim b/syntax/gdscript3.vim
index dd60b450..c14ac812 100644
--- a/syntax/gdscript3.vim
+++ b/syntax/gdscript3.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gdscript3.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, 'gdscript') == -1
" Syntax file for GDScript
diff --git a/syntax/gedcom.vim b/syntax/gedcom.vim
index 45e27a12..04628d09 100644
--- a/syntax/gedcom.vim
+++ b/syntax/gedcom.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gedcom.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, 'gedcom') == -1
" Vim syntax file
diff --git a/syntax/git.vim b/syntax/git.vim
index 142478f8..aa508353 100644
--- a/syntax/git.vim
+++ b/syntax/git.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/git.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, 'git') == -1
" Vim syntax file
diff --git a/syntax/gitcommit.vim b/syntax/gitcommit.vim
index af5d4280..7e8babac 100644
--- a/syntax/gitcommit.vim
+++ b/syntax/gitcommit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gitcommit.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, 'git') == -1
" Vim syntax file
diff --git a/syntax/gitconfig.vim b/syntax/gitconfig.vim
index af401431..95a54b3e 100644
--- a/syntax/gitconfig.vim
+++ b/syntax/gitconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gitconfig.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, 'git') == -1
" Vim syntax file
diff --git a/syntax/gitignore.vim b/syntax/gitignore.vim
index 7a1a8e9c..ba623829 100644
--- a/syntax/gitignore.vim
+++ b/syntax/gitignore.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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/syntax/gitolite.vim b/syntax/gitolite.vim
index 1cbd6260..56989389 100644
--- a/syntax/gitolite.vim
+++ b/syntax/gitolite.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gitolite.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, 'gitolite') == -1
" Vim syntax file
diff --git a/syntax/gitrebase.vim b/syntax/gitrebase.vim
index 4f2707b4..b36e9930 100644
--- a/syntax/gitrebase.vim
+++ b/syntax/gitrebase.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gitrebase.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, 'git') == -1
" Vim syntax file
diff --git a/syntax/gitsendemail.vim b/syntax/gitsendemail.vim
index d4bfb8b3..0d02129d 100644
--- a/syntax/gitsendemail.vim
+++ b/syntax/gitsendemail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gitsendemail.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, 'git') == -1
" Vim syntax file
diff --git a/syntax/gkrellmrc.vim b/syntax/gkrellmrc.vim
index 899f914a..acd8b85b 100644
--- a/syntax/gkrellmrc.vim
+++ b/syntax/gkrellmrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gkrellmrc.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, 'gkrellmrc') == -1
" Vim syntax file
diff --git a/syntax/glsl.vim b/syntax/glsl.vim
index 34876b5d..12b30938 100644
--- a/syntax/glsl.vim
+++ b/syntax/glsl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/glsl.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, 'glsl') == -1
" Language: OpenGL Shading Language
diff --git a/syntax/gmpl.vim b/syntax/gmpl.vim
index b157c012..18c65bf4 100644
--- a/syntax/gmpl.vim
+++ b/syntax/gmpl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gmpl.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, 'gmpl') == -1
" Vim syntax file
diff --git a/syntax/gnash.vim b/syntax/gnash.vim
index b424b8e2..c1fdccf5 100644
--- a/syntax/gnash.vim
+++ b/syntax/gnash.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gnash.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, 'gnash') == -1
" Vim syntax file
diff --git a/syntax/gnuplot.vim b/syntax/gnuplot.vim
index 95ee7fd5..e66aa84a 100644
--- a/syntax/gnuplot.vim
+++ b/syntax/gnuplot.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gnuplot.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, 'gnuplot') == -1
" Vim syntax file
diff --git a/syntax/go.vim b/syntax/go.vim
index 73f28037..83fa7cb2 100644
--- a/syntax/go.vim
+++ b/syntax/go.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/go.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
" Copyright 2009 The Go Authors. All rights reserved.
diff --git a/syntax/godebugoutput.vim b/syntax/godebugoutput.vim
index f0013936..9577ca2f 100644
--- a/syntax/godebugoutput.vim
+++ b/syntax/godebugoutput.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/godebugoutput.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
if exists("b:current_syntax")
diff --git a/syntax/godebugstacktrace.vim b/syntax/godebugstacktrace.vim
index 2568100d..117b0458 100644
--- a/syntax/godebugstacktrace.vim
+++ b/syntax/godebugstacktrace.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/godebugstacktrace.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
if exists("b:current_syntax")
diff --git a/syntax/godebugvariables.vim b/syntax/godebugvariables.vim
index 7e725472..bc353690 100644
--- a/syntax/godebugvariables.vim
+++ b/syntax/godebugvariables.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/godebugvariables.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
if exists("b:current_syntax")
diff --git a/syntax/godefstack.vim b/syntax/godefstack.vim
index 0b6ce168..161296a2 100644
--- a/syntax/godefstack.vim
+++ b/syntax/godefstack.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/godefstack.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
if exists("b:current_syntax")
diff --git a/syntax/gohtmltmpl.vim b/syntax/gohtmltmpl.vim
index 0cc7b955..6c5a095e 100644
--- a/syntax/gohtmltmpl.vim
+++ b/syntax/gohtmltmpl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gohtmltmpl.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
if exists("b:current_syntax")
diff --git a/syntax/gomod.vim b/syntax/gomod.vim
index 11cd7686..190f39ec 100644
--- a/syntax/gomod.vim
+++ b/syntax/gomod.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gomod.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
" gomod.vim: Vim syntax file for go.mod file
diff --git a/syntax/gotexttmpl.vim b/syntax/gotexttmpl.vim
index 3d5f3926..621324ec 100644
--- a/syntax/gotexttmpl.vim
+++ b/syntax/gotexttmpl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gotexttmpl.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
" Copyright 2011 The Go Authors. All rights reserved.
diff --git a/syntax/gp.vim b/syntax/gp.vim
index cf2c18c2..3f6aaa67 100644
--- a/syntax/gp.vim
+++ b/syntax/gp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gp.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, 'gp') == -1
" Vim syntax file
diff --git a/syntax/gpg.vim b/syntax/gpg.vim
index b6e9578a..b828cdc8 100644
--- a/syntax/gpg.vim
+++ b/syntax/gpg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gpg.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, 'gpg') == -1
" Vim syntax file
diff --git a/syntax/grads.vim b/syntax/grads.vim
index bb8f4b33..163f874c 100644
--- a/syntax/grads.vim
+++ b/syntax/grads.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/grads.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, 'grads') == -1
" Vim syntax file
diff --git a/syntax/graphql.vim b/syntax/graphql.vim
index 6ccbf03f..834e9824 100644
--- a/syntax/graphql.vim
+++ b/syntax/graphql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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/syntax/gretl.vim b/syntax/gretl.vim
index 7378015b..491342ce 100644
--- a/syntax/gretl.vim
+++ b/syntax/gretl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gretl.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, 'gretl') == -1
" Vim syntax file
diff --git a/syntax/groovy.vim b/syntax/groovy.vim
index 6a4de4d5..acf9af51 100644
--- a/syntax/groovy.vim
+++ b/syntax/groovy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/groovy.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, 'groovy') == -1
" Vim syntax file
diff --git a/syntax/group.vim b/syntax/group.vim
index a0dba966..0365cc96 100644
--- a/syntax/group.vim
+++ b/syntax/group.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/group.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, 'group') == -1
" Vim syntax file
diff --git a/syntax/grub.vim b/syntax/grub.vim
index b752209d..b276985d 100644
--- a/syntax/grub.vim
+++ b/syntax/grub.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/grub.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, 'grub') == -1
" Vim syntax file
diff --git a/syntax/gsl.vim b/syntax/gsl.vim
index 6118a3af..be447527 100644
--- a/syntax/gsl.vim
+++ b/syntax/gsl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gsl.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, 'gdscript') == -1
" Syntax file for Godot Shading Language
diff --git a/syntax/gsp.vim b/syntax/gsp.vim
index 03c60404..3b3f3a9f 100644
--- a/syntax/gsp.vim
+++ b/syntax/gsp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gsp.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, 'gsp') == -1
" Vim syntax file
diff --git a/syntax/gtkrc.vim b/syntax/gtkrc.vim
index beebd233..830490e8 100644
--- a/syntax/gtkrc.vim
+++ b/syntax/gtkrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/gtkrc.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, 'gtkrc') == -1
" Vim syntax file
diff --git a/syntax/haml.vim b/syntax/haml.vim
index 02f5cf83..61c9c63a 100644
--- a/syntax/haml.vim
+++ b/syntax/haml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/haml.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, 'haml') == -1
" Vim syntax file
diff --git a/syntax/hamster.vim b/syntax/hamster.vim
index c93e95fa..23fdb5f5 100644
--- a/syntax/hamster.vim
+++ b/syntax/hamster.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hamster.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, 'hamster') == -1
" Vim syntax file
diff --git a/syntax/handlebars.vim b/syntax/handlebars.vim
index 52c2913a..3ecdbc54 100644
--- a/syntax/handlebars.vim
+++ b/syntax/handlebars.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/handlebars.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, 'handlebars') == -1
" Mustache & Handlebars syntax
diff --git a/syntax/haproxy.vim b/syntax/haproxy.vim
index 21a449c2..b2796c48 100644
--- a/syntax/haproxy.vim
+++ b/syntax/haproxy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/haproxy.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, 'haproxy') == -1
" Vim syntax file
diff --git a/syntax/haskell.vim b/syntax/haskell.vim
index aed7aac5..e1f1c308 100644
--- a/syntax/haskell.vim
+++ b/syntax/haskell.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/haskell.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, 'haskell') == -1
" syntax highlighting for haskell
diff --git a/syntax/haste.vim b/syntax/haste.vim
index 0368fd30..33ab9fff 100644
--- a/syntax/haste.vim
+++ b/syntax/haste.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/haste.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, 'haste') == -1
" Vim syntax file
diff --git a/syntax/hastepreproc.vim b/syntax/hastepreproc.vim
index db8bd237..40e42919 100644
--- a/syntax/hastepreproc.vim
+++ b/syntax/hastepreproc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hastepreproc.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, 'hastepreproc') == -1
" Vim syntax file
diff --git a/syntax/haxe.vim b/syntax/haxe.vim
index ef159ce9..90f85dec 100644
--- a/syntax/haxe.vim
+++ b/syntax/haxe.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/haxe.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, 'haxe') == -1
" Vim syntax file
diff --git a/syntax/hb.vim b/syntax/hb.vim
index 6a3eacd2..b92ac3b2 100644
--- a/syntax/hb.vim
+++ b/syntax/hb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hb.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, 'hb') == -1
" Vim syntax file
diff --git a/syntax/hcl.vim b/syntax/hcl.vim
index 66d4071c..96db23bf 100644
--- a/syntax/hcl.vim
+++ b/syntax/hcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hcl.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, 'hcl') == -1
diff --git a/syntax/helm.vim b/syntax/helm.vim
index 8118a573..c3c4e1ba 100644
--- a/syntax/helm.vim
+++ b/syntax/helm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/helm.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, 'helm') == -1
if exists("b:current_syntax")
diff --git a/syntax/help.vim b/syntax/help.vim
index a031e48e..afd6588a 100644
--- a/syntax/help.vim
+++ b/syntax/help.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/help.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, 'help') == -1
" Vim syntax file
diff --git a/syntax/hercules.vim b/syntax/hercules.vim
index e0fc737a..c08283e3 100644
--- a/syntax/hercules.vim
+++ b/syntax/hercules.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hercules.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, 'hercules') == -1
" Vim syntax file
diff --git a/syntax/hex.vim b/syntax/hex.vim
index 62e51f96..5ae880df 100644
--- a/syntax/hex.vim
+++ b/syntax/hex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hex.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, 'hex') == -1
" Vim syntax file
diff --git a/syntax/hgcommit.vim b/syntax/hgcommit.vim
index a57ccafa..ad96c514 100644
--- a/syntax/hgcommit.vim
+++ b/syntax/hgcommit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hgcommit.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, 'hgcommit') == -1
" Vim syntax file
diff --git a/syntax/hive.vim b/syntax/hive.vim
index 12a87f8e..7bef1dc5 100644
--- a/syntax/hive.vim
+++ b/syntax/hive.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hive.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, 'hive') == -1
" Vim syntax file
diff --git a/syntax/hog.vim b/syntax/hog.vim
index 95a09fd5..1c6b89f6 100644
--- a/syntax/hog.vim
+++ b/syntax/hog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hog.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, 'hog') == -1
" Vim syntax file
diff --git a/syntax/hollywood.vim b/syntax/hollywood.vim
index cf3345f4..fef8c79e 100644
--- a/syntax/hollywood.vim
+++ b/syntax/hollywood.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hollywood.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, 'hollywood') == -1
" Vim syntax file
diff --git a/syntax/hostconf.vim b/syntax/hostconf.vim
index bf69bf7d..90bb4937 100644
--- a/syntax/hostconf.vim
+++ b/syntax/hostconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hostconf.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, 'hostconf') == -1
" Vim syntax file
diff --git a/syntax/hostsaccess.vim b/syntax/hostsaccess.vim
index aab22b0e..100462dc 100644
--- a/syntax/hostsaccess.vim
+++ b/syntax/hostsaccess.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/hostsaccess.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, 'hostsaccess') == -1
" Vim syntax file
diff --git a/syntax/html.vim b/syntax/html.vim
index a04b4c90..d5699c3d 100644
--- a/syntax/html.vim
+++ b/syntax/html.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/html.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, 'html') == -1
" Vim syntax file
diff --git a/syntax/htmldjango.vim b/syntax/htmldjango.vim
index 0e2c329d..c16cbb80 100644
--- a/syntax/htmldjango.vim
+++ b/syntax/htmldjango.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/htmldjango.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, 'htmldjango') == -1
" Vim syntax file
diff --git a/syntax/htmlm4.vim b/syntax/htmlm4.vim
index 60c02ea9..00915a95 100644
--- a/syntax/htmlm4.vim
+++ b/syntax/htmlm4.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/htmlm4.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, 'htmlm4') == -1
" Vim syntax file
diff --git a/syntax/i3config.vim b/syntax/i3config.vim
index 3b36d107..957048ea 100644
--- a/syntax/i3config.vim
+++ b/syntax/i3config.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/i3config.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, 'i3') == -1
" Vim syntax file
diff --git a/syntax/ibasic.vim b/syntax/ibasic.vim
index 0fd76d48..2725331f 100644
--- a/syntax/ibasic.vim
+++ b/syntax/ibasic.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ibasic.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, 'ibasic') == -1
" Vim syntax file
diff --git a/syntax/icalendar.vim b/syntax/icalendar.vim
index 05b3d68c..eb99cad2 100644
--- a/syntax/icalendar.vim
+++ b/syntax/icalendar.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/icalendar.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, 'icalendar') == -1
" Vim syntax file
diff --git a/syntax/icemenu.vim b/syntax/icemenu.vim
index 2f454bfc..68b30976 100644
--- a/syntax/icemenu.vim
+++ b/syntax/icemenu.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/icemenu.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, 'icemenu') == -1
" Vim syntax file
diff --git a/syntax/icon.vim b/syntax/icon.vim
index de5c021d..d15d63ff 100644
--- a/syntax/icon.vim
+++ b/syntax/icon.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/icon.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, 'icon') == -1
" Vim syntax file
diff --git a/syntax/idris.vim b/syntax/idris.vim
index 934c900b..15833ee6 100644
--- a/syntax/idris.vim
+++ b/syntax/idris.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/idris.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, 'idris') == -1
" syntax highlighting for idris (idris-lang.org)
diff --git a/syntax/idris2.vim b/syntax/idris2.vim
index 6bd18c58..aa705578 100644
--- a/syntax/idris2.vim
+++ b/syntax/idris2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/idris2.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, 'idris2') == -1
" syntax highlighting for Idris 2 (idris-lang.org)
diff --git a/syntax/indent.vim b/syntax/indent.vim
index 8d305c85..4a11ae59 100644
--- a/syntax/indent.vim
+++ b/syntax/indent.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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, 'indent') == -1
" Vim syntax file
diff --git a/syntax/inform.vim b/syntax/inform.vim
index a2f2fac4..4ec5703f 100644
--- a/syntax/inform.vim
+++ b/syntax/inform.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/inform.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, 'inform') == -1
" Vim syntax file
diff --git a/syntax/initng.vim b/syntax/initng.vim
index 8f8d459b..a9d74d3d 100644
--- a/syntax/initng.vim
+++ b/syntax/initng.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/initng.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, 'initng') == -1
" Vim syntax file
diff --git a/syntax/inittab.vim b/syntax/inittab.vim
index 35be2f20..534d2ce7 100644
--- a/syntax/inittab.vim
+++ b/syntax/inittab.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/inittab.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, 'inittab') == -1
" Vim syntax file
diff --git a/syntax/ion.vim b/syntax/ion.vim
index 40a5d59c..96d329e2 100644
--- a/syntax/ion.vim
+++ b/syntax/ion.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ion.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, 'ion') == -1
if v:version < 600
diff --git a/syntax/ipfilter.vim b/syntax/ipfilter.vim
index 1924b066..c550b547 100644
--- a/syntax/ipfilter.vim
+++ b/syntax/ipfilter.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ipfilter.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, 'ipfilter') == -1
" ipfilter syntax file
diff --git a/syntax/iss.vim b/syntax/iss.vim
index 83589612..4e28e36f 100644
--- a/syntax/iss.vim
+++ b/syntax/iss.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/iss.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, 'iss') == -1
" Vim syntax file
diff --git a/syntax/ist.vim b/syntax/ist.vim
index 75579b2e..390b9f7b 100644
--- a/syntax/ist.vim
+++ b/syntax/ist.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ist.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, 'ist') == -1
" Vim syntax file
diff --git a/syntax/j.vim b/syntax/j.vim
index 1a2e07ee..6275a955 100644
--- a/syntax/j.vim
+++ b/syntax/j.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/j.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, 'j') == -1
" Vim syntax file
diff --git a/syntax/jal.vim b/syntax/jal.vim
index fa24ffd9..c72c1394 100644
--- a/syntax/jal.vim
+++ b/syntax/jal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jal.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, 'jal') == -1
" Vim syntax file
diff --git a/syntax/jam.vim b/syntax/jam.vim
index 4ce35d57..53091ba9 100644
--- a/syntax/jam.vim
+++ b/syntax/jam.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jam.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, 'jam') == -1
" Vim syntax file
diff --git a/syntax/java.vim b/syntax/java.vim
index cd1bf69e..0ca7a195 100644
--- a/syntax/java.vim
+++ b/syntax/java.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/java.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, 'java') == -1
" Vim syntax file
diff --git a/syntax/javacc.vim b/syntax/javacc.vim
index 5d932bae..f00bb0da 100644
--- a/syntax/javacc.vim
+++ b/syntax/javacc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/javacc.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, 'javacc') == -1
" Vim syntax file
diff --git a/syntax/javascript.vim b/syntax/javascript.vim
index b2ef4c79..341e4a54 100644
--- a/syntax/javascript.vim
+++ b/syntax/javascript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/javascript.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
" Vim syntax file
diff --git a/syntax/jess.vim b/syntax/jess.vim
index 5a15286d..4f37959c 100644
--- a/syntax/jess.vim
+++ b/syntax/jess.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jess.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, 'jess') == -1
" Vim syntax file
diff --git a/syntax/jgraph.vim b/syntax/jgraph.vim
index 5bc5caaa..d3b86a5a 100644
--- a/syntax/jgraph.vim
+++ b/syntax/jgraph.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jgraph.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, 'jgraph') == -1
" Vim syntax file
diff --git a/syntax/jinja2.vim b/syntax/jinja2.vim
index 830d3be1..3cbf38df 100644
--- a/syntax/jinja2.vim
+++ b/syntax/jinja2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jinja2.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, 'ansible') == -1
" Vim syntax file
diff --git a/syntax/jovial.vim b/syntax/jovial.vim
index a3c31f6f..9a350a60 100644
--- a/syntax/jovial.vim
+++ b/syntax/jovial.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jovial.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, 'jovial') == -1
" Vim syntax file
diff --git a/syntax/jproperties.vim b/syntax/jproperties.vim
index cbf55597..b8003df4 100644
--- a/syntax/jproperties.vim
+++ b/syntax/jproperties.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jproperties.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, 'jproperties') == -1
" Vim syntax file
diff --git a/syntax/jq.vim b/syntax/jq.vim
index a767d522..dbfc6b52 100644
--- a/syntax/jq.vim
+++ b/syntax/jq.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jq.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, 'jq') == -1
" Vim syntax file
diff --git a/syntax/json.vim b/syntax/json.vim
index dcdfebdf..fe718b34 100644
--- a/syntax/json.vim
+++ b/syntax/json.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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, 'json') == -1
" Vim syntax file
diff --git a/syntax/json5.vim b/syntax/json5.vim
index 5b1e5636..d3904ff1 100644
--- a/syntax/json5.vim
+++ b/syntax/json5.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/json5.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, 'json5') == -1
" Modified from the original taken from https://github.com/gutenye/json5.vim
diff --git a/syntax/jsonnet.vim b/syntax/jsonnet.vim
index c4b1e625..c3142d85 100644
--- a/syntax/jsonnet.vim
+++ b/syntax/jsonnet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Copyright 2014 Google Inc. All rights reserved.
diff --git a/syntax/jsp.vim b/syntax/jsp.vim
index 247a51b4..f474f75e 100644
--- a/syntax/jsp.vim
+++ b/syntax/jsp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jsp.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, 'jsp') == -1
" Vim syntax file
diff --git a/syntax/jst.vim b/syntax/jst.vim
index e520379b..a364b5bf 100644
--- a/syntax/jst.vim
+++ b/syntax/jst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/jst.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, 'jst') == -1
if exists("b:current_syntax")
diff --git a/syntax/julia.vim b/syntax/julia.vim
index c2f36b7e..29e00bba 100644
--- a/syntax/julia.vim
+++ b/syntax/julia.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Vim syntax file
diff --git a/syntax/juliadoc.vim b/syntax/juliadoc.vim
index 4092a9ef..2ae435c2 100644
--- a/syntax/juliadoc.vim
+++ b/syntax/juliadoc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/juliadoc.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
" Vim syntax file for julia document view
diff --git a/syntax/kconfig.vim b/syntax/kconfig.vim
index 86ed9ff4..5a0ec852 100644
--- a/syntax/kconfig.vim
+++ b/syntax/kconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/kconfig.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, 'kconfig') == -1
" Vim syntax file
diff --git a/syntax/kivy.vim b/syntax/kivy.vim
index 3a7159c3..c71cff09 100644
--- a/syntax/kivy.vim
+++ b/syntax/kivy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/kivy.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, 'kivy') == -1
" Vim syntax file
diff --git a/syntax/kix.vim b/syntax/kix.vim
index bc27e839..1e56a02f 100644
--- a/syntax/kix.vim
+++ b/syntax/kix.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/kix.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, 'kix') == -1
" Vim syntax file
diff --git a/syntax/kotlin.vim b/syntax/kotlin.vim
index 82437dd7..4593234c 100644
--- a/syntax/kotlin.vim
+++ b/syntax/kotlin.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/kotlin.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, 'kotlin') == -1
" Vim syntax file
diff --git a/syntax/kscript.vim b/syntax/kscript.vim
index 84d6126d..caf54360 100644
--- a/syntax/kscript.vim
+++ b/syntax/kscript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/kscript.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, 'kscript') == -1
" Vim syntax file
diff --git a/syntax/kwt.vim b/syntax/kwt.vim
index 7f4c4e8c..b4901358 100644
--- a/syntax/kwt.vim
+++ b/syntax/kwt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/kwt.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, 'kwt') == -1
" Vim syntax file
diff --git a/syntax/lace.vim b/syntax/lace.vim
index 084d5187..309a85bf 100644
--- a/syntax/lace.vim
+++ b/syntax/lace.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lace.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, 'lace') == -1
" Vim syntax file
diff --git a/syntax/latte.vim b/syntax/latte.vim
index 1dea60cf..fe94d9cc 100644
--- a/syntax/latte.vim
+++ b/syntax/latte.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/latte.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, 'latte') == -1
" Vim syntax file
diff --git a/syntax/ld.vim b/syntax/ld.vim
index 4646b0aa..dc51e15f 100644
--- a/syntax/ld.vim
+++ b/syntax/ld.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ld.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, 'ld') == -1
" Vim syntax file
diff --git a/syntax/ldif.vim b/syntax/ldif.vim
index ac73f285..5f8f8922 100644
--- a/syntax/ldif.vim
+++ b/syntax/ldif.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ldif.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, 'ldif') == -1
" Vim syntax file
diff --git a/syntax/ledger.vim b/syntax/ledger.vim
index 98ada4c9..b768c834 100644
--- a/syntax/ledger.vim
+++ b/syntax/ledger.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Vim syntax file
diff --git a/syntax/less.vim b/syntax/less.vim
index 82feb454..ee2a40bb 100644
--- a/syntax/less.vim
+++ b/syntax/less.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/less.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, 'less') == -1
" Vim syntax file
diff --git a/syntax/lex.vim b/syntax/lex.vim
index 15ca5e01..a4d62b11 100644
--- a/syntax/lex.vim
+++ b/syntax/lex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lex.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, 'lex') == -1
" Vim syntax file
diff --git a/syntax/lftp.vim b/syntax/lftp.vim
index b7059553..91695458 100644
--- a/syntax/lftp.vim
+++ b/syntax/lftp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lftp.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, 'lftp') == -1
" Vim syntax file
diff --git a/syntax/lhaskell.vim b/syntax/lhaskell.vim
index c1dacf1f..a38b93c0 100644
--- a/syntax/lhaskell.vim
+++ b/syntax/lhaskell.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lhaskell.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, 'lhaskell') == -1
" Vim syntax file
diff --git a/syntax/libao.vim b/syntax/libao.vim
index 01ad1dd5..0080efe3 100644
--- a/syntax/libao.vim
+++ b/syntax/libao.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/libao.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, 'libao') == -1
" Vim syntax file
diff --git a/syntax/lidris.vim b/syntax/lidris.vim
index af65997f..8f1ca1b3 100644
--- a/syntax/lidris.vim
+++ b/syntax/lidris.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lidris.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, 'idris') == -1
" Vim syntax file
diff --git a/syntax/lidris2.vim b/syntax/lidris2.vim
index a4757205..277e1002 100644
--- a/syntax/lidris2.vim
+++ b/syntax/lidris2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lidris2.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, 'idris2') == -1
" Vim syntax file
diff --git a/syntax/lifelines.vim b/syntax/lifelines.vim
index 05ac1cf8..2f92a7ec 100644
--- a/syntax/lifelines.vim
+++ b/syntax/lifelines.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lifelines.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, 'lifelines') == -1
" Vim syntax file
diff --git a/syntax/lilo.vim b/syntax/lilo.vim
index daa364df..66c6c963 100644
--- a/syntax/lilo.vim
+++ b/syntax/lilo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lilo.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, 'lilo') == -1
" Vim syntax file
diff --git a/syntax/lilypond-words.vim b/syntax/lilypond-words.vim
index 5af8d964..43ad7c3d 100644
--- a/syntax/lilypond-words.vim
+++ b/syntax/lilypond-words.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lilypond-words.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, 'lilypond') == -1
syn match lilyKeyword "[-_^]\?\\\(xNotesOn\|xNotesOff\|xNote\|wordwrap-string-internal\|wordwrap-string\|wordwrap-lines\|wordwrap-internal\|wordwrap-field\|wordwrap\|withMusicProperty\|with-url\|with-link\|with-dimensions\|with-color\|with\|whiteout\|whiteTriangleMarkup\|walkerHeadsMinor\|walkerHeads\|vspace\|void\|voiceTwoStyle\|voiceTwo\|voiceThreeStyle\|voiceThree\|voiceOneStyle\|voiceOne\|voiceNeutralStyle\|voiceFourStyle\|voiceFour\|vocalName\|virgula\|virga\|verylongfermata\|versus\|version\|verbatim-file\|vcenter\|varcoda\|upright\|upprall\|upmordent\|upbow\|up\|unset\|unit\|unfoldRepeats\|undo\|underline\|unaCorda\|unHideNotes\|typewriter\|type\|tweak\|turn\|tupletUp\|tupletSpan\|tupletNeutral\|tupletDown\|tuplet\|trill\|triangle\|treCorde\|transposition\|transposedCueDuring\|transpose\|transparent\|translate-scaled\|translate\|topLevelAlignment\|tocTitleMarkup\|tocItemWithDotsMarkup\|tocItemMarkup\|tocItem\|tiny\|timing\|times\|timeSignatureSettings\|timeSignatureFraction\|time\|tied-lyric\|tieWaitForNote\|tieUp\|tieSolid\|tieNeutral\|tieHalfSolid\|tieHalfDashed\|tieDown\|tieDotted\|tieDashed\|tieDashPattern\|thumb\|textSpannerUp\|textSpannerNeutral\|textSpannerDown\|textLengthOn\|textLengthOff\|text\|tenuto\|temporary\|tempoWholesPerMinute\|tempo\|teeny\|tag\|table-of-contents\|tablatureFormat\|tabStaffLineLayoutFunction\|tabFullNotation\|systemStartDelimiter\|sustainOn\|sustainOff\|super\|subdivideBeams\|sub\|styledNoteHeads\|strut\|stropha\|strokeFingerOrientations\|stringTunings\|stringOneTopmost\|stringNumberOrientations\|stopped\|stopTrillSpan\|stopTextSpan\|stopStaff\|stopSlashedGraceMusic\|stopMeasureCount\|stopGroup\|stopGraceSlur\|stopGraceMusic\|stopAppoggiaturaMusic\|stopAcciaccaturaMusic\|stop\|stencil\|stemUp\|stemNeutral\|stemDown\|startTrillSpan\|startTextSpan\|startStaff\|startSlashedGraceMusic\|startRepeatType\|startMeasureCount\|startGroup\|startGraceSlur\|startGraceMusic\|startAppoggiaturaMusic\|startAcciaccaturaMusic\|start\|staccato\|staccatissimo\|squashedPosition\|spp\|spacingTweaks\|sp\|southernHarmonyHeadsMinor\|southernHarmonyHeads\|sostenutoOn\|sostenutoOff\|soloText\|soloIIText\|snappizzicato\|smaller\|smallCaps\|small\|slurUp\|slurSolid\|slurNeutral\|slurHalfSolid\|slurHalfDashed\|slurDown\|slurDotted\|slurDashed\|slurDashPattern\|slashedGrace\|slashed-digit\|slashChordSeparator\|skipTypesetting\|skip\|single\|simultaneous\|simple\|signumcongruentiae\|showStaffSwitch\|showSplitTiedTabNotes\|shortfermata\|shortVocalName\|shortInstrumentName\|shiftOnnn\|shiftOnn\|shiftOn\|shiftOff\|shiftDurations\|sharp\|shape\|sfz\|sfp\|sff\|sf\|settingsFrom\|setDefaultDurationToQuarter\|set\|sesquisharp\|sesquiflat\|sequential\|semisharp\|semiflat\|semicirculus\|semiGermanChords\|segno\|searchForVoice\|scriptDefinitions\|score\|scaleDurations\|scale\|sans\|sacredHarpHeadsMinor\|sacredHarpHeads\|rtoe\|rounded-box\|rotate\|roman\|rightHandFinger\|right-column\|right-brace\|right-align\|right\|rheel\|rfz\|revertTimeSignatureSettings\|revert\|reverseturn\|retrograde\|restrainOpenStrings\|rest-by-number\|rest\|responsum\|resetRelativeOctave\|replace\|repeatTie\|repeatCountVisibility\|repeat\|removeWithTag\|remove\|relative\|rehearsalMark\|raise\|quotedEventTypes\|quotedCueEventTypes\|quoteDuring\|quilisma\|put-adjacent\|pushToTag\|pt\|property-recursive\|printPartCombineTexts\|printKeyCancellation\|predefinedFretboardsOn\|predefinedFretboardsOff\|predefinedDiagramTable\|prallup\|prallprall\|prallmordent\|pralldown\|prall\|ppppp\|pppp\|ppp\|pp\|powerChords\|powerChordSymbol\|powerChordExceptions\|postscript\|portato\|pointAndClickTypes\|pointAndClickOn\|pointAndClickOff\|pitchedTrill\|phrygian\|phrasingSlurUp\|phrasingSlurSolid\|phrasingSlurNeutral\|phrasingSlurHalfSolid\|phrasingSlurHalfDashed\|phrasingSlurDown\|phrasingSlurDotted\|phrasingSlurDashed\|phrasingSlurDashPattern\|pes\|pedalUnaCordaStyle\|pedalUnaCordaStrings\|pedalSustainStyle\|pedalSustainStrings\|pedalSostenutoStyle\|pedalSostenutoStrings\|pattern\|path\|partialJazzMusic\|partialJazzExceptions\|partial\|partcombineUp\|partcombineUnisonoOnce\|partcombineUnisono\|partcombineSoloIOnce\|partcombineSoloIIOnce\|partcombineSoloII\|partcombineSoloI\|partcombineForce\|partcombineDown\|partcombineChordsOnce\|partcombineChords\|partcombineAutomaticOnce\|partcombineAutomatic\|partcombineApartOnce\|partcombineApart\|partcombine\|partCombineTextsOnNote\|partCombineListener\|parenthesize\|parallelMusic\|paper\|palmMuteOn\|palmMuteOff\|palmMute\|pageTurn\|pageBreak\|page-ref\|page-link\|pad-x\|pad-to-box\|pad-markup\|pad-around\|p\|overrideTimeSignatureSettings\|overrideProperty\|override-lines\|override\|oval\|ottava\|oriscus\|open\|oneVoice\|once\|on-the-fly\|omit\|offset\|octaveCheck\|numericTimeSignature\|number\|null\|notemode\|noteToFretFunction\|note-by-number\|note\|normalsize\|normal-text\|normal-size-super\|normal-size-sub\|noPageTurn\|noPageBreak\|noChordSymbol\|noBreak\|noBeam\|newSpacingSection\|new\|neumeDemoLayout\|natural\|name\|musicglyph\|musicMap\|mp\|mordent\|modalTranspose\|modalInversion\|mm\|mixolydian\|minorChordModifier\|minor\|midiInstrument\|midiChannelMapping\|midi\|middleCPosition\|middleCClefPosition\|mf\|metronomeMarkFormatter\|mergeDifferentlyHeadedOn\|mergeDifferentlyHeadedOff\|mergeDifferentlyDottedOn\|mergeDifferentlyDottedOff\|melismaEnd\|melismaBusyProperties\|melisma\|medium\|maxima\|markuplist\|markup\|markletter\|markalphabet\|markLengthOn\|markLengthOff\|markFormatter\|mark\|marcato\|map-markup-commands\|makeClusters\|majorSevenSymbol\|major\|maininput\|magnify\|lyricsto\|lyrics\|lyricmode\|lyricMelismaAlignment\|lydian\|ltoe\|lower\|lookup\|longfermata\|longa\|locrian\|localKeySignature\|lineprall\|linea\|line\|ligature\|lheel\|left-column\|left-brace\|left-align\|left\|layout\|larger\|large\|languageSaveAndChange\|languageRestore\|language\|laissezVibrer\|label\|killCues\|kievanOn\|kievanOff\|keyAlterationOrder\|key\|keepWithTag\|keepAliveInterfaces\|justify-string\|justify-field\|justify\|justified-lines\|italic\|italianChords\|ionian\|inversion\|interscoreline\|instrumentTransposition\|instrumentSwitch\|instrumentName\|instrumentEqualizer\|indent\|include\|inclinatum\|inStaffSegno\|in\|improvisationOn\|improvisationOff\|implicitTimeSignatureVisibility\|ij\|iij\|ignoreFiguredBassRest\|ignoreBarChecks\|ignatzekExceptions\|ignatzekExceptionMusic\|ictus\|huge\|hspace\|highStringOne\|hideStaffSwitch\|hideSplitTiedTabNotes\|hideNotes\|hide\|header\|hcenter-in\|hbracket\|harp-pedal\|harmonicsOn\|harmonicsOff\|harmonicNote\|harmonicByRatio\|harmonicByFret\|harmonicAccidentals\|harmonic\|handleNegativeFrets\|halign\|halfopen\|grobdescriptions\|graceSettings\|grace\|glissando\|germanChords\|general-align\|fz\|funkHeadsMinor\|funkHeads\|fullJazzExceptions\|fromproperty\|fret-diagram-verbose\|fret-diagram-terse\|fret-diagram\|frenchChords\|fraction\|fp\|footnote\|fontsize\|fontSize\|fontCaps\|flexa\|flat\|flageolet\|firstClef\|fingeringOrientations\|finger\|finalis\|filled-box\|fill-with-pattern\|fill-line\|figures\|figuremode\|figuredBassFormatter\|fffff\|ffff\|fff\|ff\|fermataMarkup\|fermata\|featherDurations\|f\|eyeglasses\|extraNatural\|explicitKeySignatureVisibility\|explicitCueClefVisibility\|explicitClefVisibility\|expandFullBarRests\|eventChords\|espressivo\|epsfile\|episemInitium\|episemFinis\|endincipit\|enddim\|enddecresc\|enddecr\|endcresc\|endcr\|endSpanners\|endRepeatType\|ellipse\|easyHeadsOn\|easyHeadsOff\|dynamicUp\|dynamicNeutral\|dynamicDown\|dynamicAbsoluteVolumeFunction\|dynamic\|drums\|drummode\|drumStyleTable\|drumPitchTable\|draw-line\|draw-hline\|draw-dotted-line\|draw-dashed-line\|draw-circle\|downprall\|downmordent\|downbow\|down\|doublesharp\|doubleflat\|doubleRepeatType\|dotsUp\|dotsNeutral\|dotsDown\|dorian\|divisioMinima\|divisioMaxima\|divisioMaior\|displayScheme\|displayMusic\|displayLilyMusic\|dir-column\|dimTextDim\|dimTextDecresc\|dimTextDecr\|dimHairpin\|dim\|description\|descendens\|deprecatedenddim\|deprecatedendcresc\|deprecateddim\|deprecatedcresc\|denies\|deminutum\|defineBarLine\|defaultchild\|defaultTimeSignature\|defaultNoteHeads\|defaultBarType\|default\|decrescendoSpanner\|decresc\|decr\|deadNotesOn\|deadNotesOff\|deadNote\|dashUnderscore\|dashPlus\|dashLarger\|dashHat\|dashDot\|dashDash\|dashBang\|cueDuringWithClef\|cueDuring\|cueClefUnset\|cueClefTranspositionFormatter\|cueClef\|crossStaff\|crescendoSpanner\|crescTextCresc\|crescHairpin\|cresc\|createSpacing\|cr\|context\|consists\|concat\|compressFullBarRests\|compoundMeter\|command-name\|combine\|column-lines\|column\|coda\|cm\|clefTranspositionFormatter\|clefTransposition\|clefPosition\|clefGlyph\|clef\|circulus\|circle\|chords\|chordmodifiers\|chordmode\|chordRootNamer\|chordPrefixSpacer\|chordNoteNamer\|chordNameSeparator\|chordNameLowercaseMinor\|chordNameFunction\|chordNameExceptionsPartial\|chordNameExceptionsFull\|chordNameExceptions\|char\|change\|center-column\|center-align\|center\|cavum\|caps\|caesura\|cadenzaOn\|cadenzaOff\|breve\|breathe\|breakDynamicSpan\|break\|bracket\|box\|bookpart\|bookOutputSuffix\|bookOutputName\|book\|bold\|blackTriangleMarkup\|bigger\|bendAfter\|beamHalfMeasure\|beam\|bassStaffProperties\|bassFigureStaffAlignmentUp\|bassFigureStaffAlignmentNeutral\|bassFigureStaffAlignmentDown\|bassFigureExtendersOn\|bassFigureExtendersOff\|barNumberVisibility\|barNumberFormatter\|barNumberCheck\|barCheckSynchronize\|barAlways\|bar\|balloonText\|balloonLengthOn\|balloonLengthOff\|balloonGrobText\|backslashed-digit\|automaticBars\|autochange\|autoCautionaries\|autoBeaming\|autoBeamOn\|autoBeamOff\|autoBeamCheck\|autoAccidentals\|auto-footnote\|augmentum\|auctum\|assertBeamSlope\|assertBeamQuant\|ascendens\|arrow-head\|arpeggioParenthesisDashed\|arpeggioParenthesis\|arpeggioNormal\|arpeggioBracket\|arpeggioArrowUp\|arpeggioArrowDown\|arpeggio\|appoggiatura\|applyOutput\|applyMusic\|applyContext\|appendToTag\|alternative\|alterBroken\|allowVoltaHook\|allowPageTurn\|alias\|aikenHeadsMinor\|aikenHeads\|afterGraceFraction\|afterGrace\|aeolian\|addlyrics\|additionalPitchPrefix\|addQuote\|addInstrumentDefinition\|accidentalStyle\|acciaccatura\|accepts\|accentus\|accent\|absolute\|abs-fontsize\|aDueText\|RemoveEmptyTabStaffContext\|RemoveEmptyStaffContext\|RemoveEmptyRhythmicStaffContext\|RemoveEmptyDrumStaffContext\|IJ\|IIJ\|C\|B\|AncientRemoveEmptyStaffContext\|A\|n\)\(\A\|\n\)"me=e-1
diff --git a/syntax/lilypond.vim b/syntax/lilypond.vim
index feed18c5..96b7df32 100644
--- a/syntax/lilypond.vim
+++ b/syntax/lilypond.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lilypond.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, 'lilypond') == -1
" LilyPond syntax file
diff --git a/syntax/limits.vim b/syntax/limits.vim
index 1f62582f..a8e434bf 100644
--- a/syntax/limits.vim
+++ b/syntax/limits.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/limits.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, 'limits') == -1
" Vim syntax file
diff --git a/syntax/liquid.vim b/syntax/liquid.vim
index f69b77a5..fd8640ee 100644
--- a/syntax/liquid.vim
+++ b/syntax/liquid.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/liquid.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, 'liquid') == -1
" Vim syntax file
diff --git a/syntax/lisp.vim b/syntax/lisp.vim
index d27e43a6..9982330f 100644
--- a/syntax/lisp.vim
+++ b/syntax/lisp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lisp.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, 'lisp') == -1
" Vim syntax file
diff --git a/syntax/litcoffee.vim b/syntax/litcoffee.vim
index fb49e49c..5c30b805 100644
--- a/syntax/litcoffee.vim
+++ b/syntax/litcoffee.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/litcoffee.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: Literate CoffeeScript
diff --git a/syntax/lite.vim b/syntax/lite.vim
index f54fa61d..4ffd5378 100644
--- a/syntax/lite.vim
+++ b/syntax/lite.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lite.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, 'lite') == -1
" Vim syntax file
diff --git a/syntax/litestep.vim b/syntax/litestep.vim
index eecb04cc..ca0ad369 100644
--- a/syntax/litestep.vim
+++ b/syntax/litestep.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/litestep.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, 'litestep') == -1
" Vim syntax file
diff --git a/syntax/llvm.vim b/syntax/llvm.vim
index 427e1134..c276bf1a 100644
--- a/syntax/llvm.vim
+++ b/syntax/llvm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/llvm.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, 'llvm') == -1
" Vim syntax file
diff --git a/syntax/log.vim b/syntax/log.vim
index 6061cd58..42af8315 100644
--- a/syntax/log.vim
+++ b/syntax/log.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/log.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, 'log') == -1
" Vim syntax file
diff --git a/syntax/loginaccess.vim b/syntax/loginaccess.vim
index 26880e7a..ed9bbd74 100644
--- a/syntax/loginaccess.vim
+++ b/syntax/loginaccess.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/loginaccess.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, 'loginaccess') == -1
" Vim syntax file
diff --git a/syntax/logindefs.vim b/syntax/logindefs.vim
index cebeabeb..6409a31e 100644
--- a/syntax/logindefs.vim
+++ b/syntax/logindefs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/logindefs.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, 'logindefs') == -1
" Vim syntax file
diff --git a/syntax/logtalk.vim b/syntax/logtalk.vim
index 86cea693..5deb393e 100644
--- a/syntax/logtalk.vim
+++ b/syntax/logtalk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/logtalk.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, 'logtalk') == -1
" Vim syntax file
diff --git a/syntax/lotos.vim b/syntax/lotos.vim
index 639c7041..27f8512b 100644
--- a/syntax/lotos.vim
+++ b/syntax/lotos.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lotos.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, 'lotos') == -1
" Vim syntax file
diff --git a/syntax/lout.vim b/syntax/lout.vim
index a5a254b2..4c8982ac 100644
--- a/syntax/lout.vim
+++ b/syntax/lout.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lout.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, 'lout') == -1
" Vim syntax file
diff --git a/syntax/lpc.vim b/syntax/lpc.vim
index 24bbe796..6fbff0c5 100644
--- a/syntax/lpc.vim
+++ b/syntax/lpc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lpc.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, 'lpc') == -1
" Vim syntax file
diff --git a/syntax/lprolog.vim b/syntax/lprolog.vim
index d6eabbd8..5541aa28 100644
--- a/syntax/lprolog.vim
+++ b/syntax/lprolog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lprolog.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, 'lprolog') == -1
" Vim syntax file
diff --git a/syntax/ls.vim b/syntax/ls.vim
index f13dbf11..056d0abe 100644
--- a/syntax/ls.vim
+++ b/syntax/ls.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ls.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, 'livescript') == -1
" Language: LiveScript "
diff --git a/syntax/lsl.vim b/syntax/lsl.vim
index 5065e179..dfbec0c4 100644
--- a/syntax/lsl.vim
+++ b/syntax/lsl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lsl.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, 'lsl') == -1
" Vim syntax file
diff --git a/syntax/lss.vim b/syntax/lss.vim
index f2a170ce..a7454369 100644
--- a/syntax/lss.vim
+++ b/syntax/lss.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lss.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, 'lss') == -1
" Vim syntax file
diff --git a/syntax/lua.vim b/syntax/lua.vim
index 36956285..29ee33c6 100644
--- a/syntax/lua.vim
+++ b/syntax/lua.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lua.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, 'lua') == -1
" Vim syntax file
diff --git a/syntax/lynx.vim b/syntax/lynx.vim
index 4dfe9205..13c96b84 100644
--- a/syntax/lynx.vim
+++ b/syntax/lynx.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/lynx.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, 'lynx') == -1
" Vim syntax file
diff --git a/syntax/m4.vim b/syntax/m4.vim
index 848dba3f..772a6985 100644
--- a/syntax/m4.vim
+++ b/syntax/m4.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/m4.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, 'm4') == -1
" Vim syntax file
diff --git a/syntax/mail.vim b/syntax/mail.vim
index 41a4a860..dfa7069b 100644
--- a/syntax/mail.vim
+++ b/syntax/mail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mail.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, 'mail') == -1
" Vim syntax file
diff --git a/syntax/mailaliases.vim b/syntax/mailaliases.vim
index af00b783..d2a37c22 100644
--- a/syntax/mailaliases.vim
+++ b/syntax/mailaliases.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mailaliases.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, 'mailaliases') == -1
" Vim syntax file
diff --git a/syntax/mailcap.vim b/syntax/mailcap.vim
index bb2432b0..82fe7986 100644
--- a/syntax/mailcap.vim
+++ b/syntax/mailcap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mailcap.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, 'mailcap') == -1
" Vim syntax file
diff --git a/syntax/make.vim b/syntax/make.vim
index 349305ba..cb04511a 100644
--- a/syntax/make.vim
+++ b/syntax/make.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/make.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, 'make') == -1
" Vim syntax file
diff --git a/syntax/mako.vim b/syntax/mako.vim
index d8d685ff..38aa67c3 100644
--- a/syntax/mako.vim
+++ b/syntax/mako.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mako.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, 'mako') == -1
" Vim syntax file
diff --git a/syntax/mallard.vim b/syntax/mallard.vim
index 9c8e9844..782c1446 100644
--- a/syntax/mallard.vim
+++ b/syntax/mallard.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mallard.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, 'mallard') == -1
" Vim syntax file
diff --git a/syntax/manconf.vim b/syntax/manconf.vim
index 6d7d808d..6e70d99d 100644
--- a/syntax/manconf.vim
+++ b/syntax/manconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/manconf.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, 'manconf') == -1
" Vim syntax file
diff --git a/syntax/maple.vim b/syntax/maple.vim
index 1391e3fb..ddf0ab90 100644
--- a/syntax/maple.vim
+++ b/syntax/maple.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/maple.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, 'maple') == -1
" Vim syntax file
diff --git a/syntax/markdown.vim b/syntax/markdown.vim
index 4ab0bebc..f4a809fc 100644
--- a/syntax/markdown.vim
+++ b/syntax/markdown.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/markdown.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, 'markdown') == -1
" Vim syntax file
diff --git a/syntax/mason.vim b/syntax/mason.vim
index 9e7d82e5..6af8080d 100644
--- a/syntax/mason.vim
+++ b/syntax/mason.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mason.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, 'perl') == -1
" Vim syntax file
diff --git a/syntax/master.vim b/syntax/master.vim
index a13b4c63..cd4d7bf4 100644
--- a/syntax/master.vim
+++ b/syntax/master.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/master.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, 'master') == -1
" Vim syntax file
diff --git a/syntax/mel.vim b/syntax/mel.vim
index f06355e1..c0ab9109 100644
--- a/syntax/mel.vim
+++ b/syntax/mel.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mel.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, 'mel') == -1
" Vim syntax file
diff --git a/syntax/merlin.vim b/syntax/merlin.vim
index c0f84fa9..cf2292c3 100644
--- a/syntax/merlin.vim
+++ b/syntax/merlin.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/merlin.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, 'reason') == -1
" Vim syntax file for editing merlin project files
diff --git a/syntax/meson.vim b/syntax/meson.vim
index c90697d2..5153c88a 100644
--- a/syntax/meson.vim
+++ b/syntax/meson.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/meson.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, 'meson') == -1
" Vim syntax file
diff --git a/syntax/messages.vim b/syntax/messages.vim
index 50819a1e..d9669ee5 100644
--- a/syntax/messages.vim
+++ b/syntax/messages.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/messages.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, 'messages') == -1
" Vim syntax file
diff --git a/syntax/mf.vim b/syntax/mf.vim
index 916da2f2..c1a01c0a 100644
--- a/syntax/mf.vim
+++ b/syntax/mf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mf.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, 'mf') == -1
" Vim syntax file
diff --git a/syntax/mgl.vim b/syntax/mgl.vim
index 72f4be37..c5960af4 100644
--- a/syntax/mgl.vim
+++ b/syntax/mgl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mgl.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, 'mgl') == -1
" Vim syntax file
diff --git a/syntax/mgp.vim b/syntax/mgp.vim
index 3ba57850..2f9b545d 100644
--- a/syntax/mgp.vim
+++ b/syntax/mgp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mgp.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, 'mgp') == -1
" Vim syntax file
diff --git a/syntax/mib.vim b/syntax/mib.vim
index 5a9d4f12..238d3132 100644
--- a/syntax/mib.vim
+++ b/syntax/mib.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mib.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, 'mib') == -1
" Vim syntax file
diff --git a/syntax/mix.vim b/syntax/mix.vim
index 59a92f7c..90ad0b5a 100644
--- a/syntax/mix.vim
+++ b/syntax/mix.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mix.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, 'mix') == -1
" Vim syntax file
diff --git a/syntax/mma.vim b/syntax/mma.vim
index f6059296..01cbeb5d 100644
--- a/syntax/mma.vim
+++ b/syntax/mma.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mma.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, 'mathematica') == -1
"Vim syntax file
diff --git a/syntax/mmp.vim b/syntax/mmp.vim
index 9ed55a97..5431a451 100644
--- a/syntax/mmp.vim
+++ b/syntax/mmp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mmp.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, 'mmp') == -1
" Vim syntax file
diff --git a/syntax/modconf.vim b/syntax/modconf.vim
index 42b0e97d..5dc2a51b 100644
--- a/syntax/modconf.vim
+++ b/syntax/modconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/modconf.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, 'modconf') == -1
" Vim syntax file
diff --git a/syntax/modula2.vim b/syntax/modula2.vim
index 3f0bf04a..a54d2309 100644
--- a/syntax/modula2.vim
+++ b/syntax/modula2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/modula2.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, 'modula2') == -1
" Vim syntax file
diff --git a/syntax/modula3.vim b/syntax/modula3.vim
index 520d8ac5..4a520f2c 100644
--- a/syntax/modula3.vim
+++ b/syntax/modula3.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/modula3.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, 'modula3') == -1
" Vim syntax file
diff --git a/syntax/monk.vim b/syntax/monk.vim
index af828968..9c0365dd 100644
--- a/syntax/monk.vim
+++ b/syntax/monk.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/monk.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, 'monk') == -1
" Vim syntax file
diff --git a/syntax/moo.vim b/syntax/moo.vim
index 053d9df1..0d8f11aa 100644
--- a/syntax/moo.vim
+++ b/syntax/moo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/moo.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, 'moo') == -1
" Vim syntax file
diff --git a/syntax/moon.vim b/syntax/moon.vim
index 10d9b32b..4d679a22 100644
--- a/syntax/moon.vim
+++ b/syntax/moon.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/moon.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, 'moonscript') == -1
" Language: MoonScript
diff --git a/syntax/mp.vim b/syntax/mp.vim
index 754c4441..93be5d94 100644
--- a/syntax/mp.vim
+++ b/syntax/mp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mp.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, 'mp') == -1
" Vim syntax file
diff --git a/syntax/mplayerconf.vim b/syntax/mplayerconf.vim
index 1971260b..25a7bdbb 100644
--- a/syntax/mplayerconf.vim
+++ b/syntax/mplayerconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mplayerconf.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, 'mplayerconf') == -1
" Vim syntax file
diff --git a/syntax/mrxvtrc.vim b/syntax/mrxvtrc.vim
index 1b77e9c7..5d3affe0 100644
--- a/syntax/mrxvtrc.vim
+++ b/syntax/mrxvtrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mrxvtrc.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, 'mrxvtrc') == -1
" Description : Vim syntax file for mrxvtrc (for mrxvt-0.5.0 and up)
diff --git a/syntax/msidl.vim b/syntax/msidl.vim
index 8a09710a..e654e0a3 100644
--- a/syntax/msidl.vim
+++ b/syntax/msidl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/msidl.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, 'msidl') == -1
" Vim syntax file
diff --git a/syntax/msql.vim b/syntax/msql.vim
index 2728724d..e9cf6edf 100644
--- a/syntax/msql.vim
+++ b/syntax/msql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/msql.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, 'msql') == -1
" Vim syntax file
diff --git a/syntax/mupad.vim b/syntax/mupad.vim
index 9e102149..933a68ff 100644
--- a/syntax/mupad.vim
+++ b/syntax/mupad.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mupad.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, 'mupad') == -1
" Vim syntax file
diff --git a/syntax/murphi.vim b/syntax/murphi.vim
index c6d16326..7e1208a7 100644
--- a/syntax/murphi.vim
+++ b/syntax/murphi.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/murphi.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, 'murphi') == -1
" Vim syntax file
diff --git a/syntax/mush.vim b/syntax/mush.vim
index 33fc883c..ac7cb6f2 100644
--- a/syntax/mush.vim
+++ b/syntax/mush.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mush.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, 'mush') == -1
" MUSHcode syntax file
diff --git a/syntax/mustache.vim b/syntax/mustache.vim
index 36a4ba27..a620e6a3 100644
--- a/syntax/mustache.vim
+++ b/syntax/mustache.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mustache.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, 'handlebars') == -1
runtime! syntax/handlebars.vim
diff --git a/syntax/muttrc.vim b/syntax/muttrc.vim
index 167fe636..0c4609e1 100644
--- a/syntax/muttrc.vim
+++ b/syntax/muttrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/muttrc.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, 'muttrc') == -1
" Vim syntax file
diff --git a/syntax/mysql.vim b/syntax/mysql.vim
index 60068c66..018a01e8 100644
--- a/syntax/mysql.vim
+++ b/syntax/mysql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/mysql.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, 'mysql') == -1
" Vim syntax file
diff --git a/syntax/n1ql.vim b/syntax/n1ql.vim
index 4aa51bec..fa1648ef 100644
--- a/syntax/n1ql.vim
+++ b/syntax/n1ql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/n1ql.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, 'n1ql') == -1
" Vim syntax file
diff --git a/syntax/named.vim b/syntax/named.vim
index 508f7ec7..d422ef3e 100644
--- a/syntax/named.vim
+++ b/syntax/named.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/named.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, 'named') == -1
" Vim syntax file
diff --git a/syntax/nanorc.vim b/syntax/nanorc.vim
index 079e4bfe..93d6ecbe 100644
--- a/syntax/nanorc.vim
+++ b/syntax/nanorc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/nanorc.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, 'nanorc') == -1
" Vim syntax file
diff --git a/syntax/natural.vim b/syntax/natural.vim
index 54f5e670..6c6b2d79 100644
--- a/syntax/natural.vim
+++ b/syntax/natural.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/natural.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, 'natural') == -1
" Vim syntax file
diff --git a/syntax/ncf.vim b/syntax/ncf.vim
index 6e60e0d6..5f05580c 100644
--- a/syntax/ncf.vim
+++ b/syntax/ncf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ncf.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, 'ncf') == -1
" Vim syntax file
diff --git a/syntax/neomuttrc.vim b/syntax/neomuttrc.vim
index 363b811a..98c048b9 100644
--- a/syntax/neomuttrc.vim
+++ b/syntax/neomuttrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/neomuttrc.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, 'neomuttrc') == -1
" Vim syntax file
diff --git a/syntax/netrc.vim b/syntax/netrc.vim
index f9cdd890..7c036ea6 100644
--- a/syntax/netrc.vim
+++ b/syntax/netrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/netrc.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, 'netrc') == -1
" Vim syntax file
diff --git a/syntax/nginx.vim b/syntax/nginx.vim
index 78160f37..9a0be5db 100644
--- a/syntax/nginx.vim
+++ b/syntax/nginx.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/nginx.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, 'nginx') == -1
" Vim syntax file
diff --git a/syntax/nim.vim b/syntax/nim.vim
index e1317056..f01213c1 100644
--- a/syntax/nim.vim
+++ b/syntax/nim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" For version 5.x: Clear all syntax items
diff --git a/syntax/ninja.vim b/syntax/ninja.vim
index 4a06b9f5..54dc9c6e 100644
--- a/syntax/ninja.vim
+++ b/syntax/ninja.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ninja.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, 'ninja') == -1
" ninja build file syntax.
diff --git a/syntax/nix.vim b/syntax/nix.vim
index d8fd4f66..047eded3 100644
--- a/syntax/nix.vim
+++ b/syntax/nix.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/nix.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, 'nix') == -1
" Vim syntax file
diff --git a/syntax/nqc.vim b/syntax/nqc.vim
index ca8b1001..16e60128 100644
--- a/syntax/nqc.vim
+++ b/syntax/nqc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/nqc.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, 'nqc') == -1
" Vim syntax file
diff --git a/syntax/nroff.vim b/syntax/nroff.vim
index 525649a8..ea743fe6 100644
--- a/syntax/nroff.vim
+++ b/syntax/nroff.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/nroff.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, 'nroff') == -1
" VIM syntax file
diff --git a/syntax/nsis.vim b/syntax/nsis.vim
index 39d02cfd..a3602d42 100644
--- a/syntax/nsis.vim
+++ b/syntax/nsis.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/nsis.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, 'nsis') == -1
" Vim syntax file
diff --git a/syntax/oasis.vim b/syntax/oasis.vim
index 054d0534..8534bcd4 100644
--- a/syntax/oasis.vim
+++ b/syntax/oasis.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/oasis.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, 'ocaml') == -1
if exists("b:current_syntax")
diff --git a/syntax/obj.vim b/syntax/obj.vim
index 3d335d09..cf409167 100644
--- a/syntax/obj.vim
+++ b/syntax/obj.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/obj.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, 'obj') == -1
" Vim syntax file
diff --git a/syntax/ocaml.vim b/syntax/ocaml.vim
index 6e6cf225..ce8c4b75 100644
--- a/syntax/ocaml.vim
+++ b/syntax/ocaml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ocaml.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, 'ocaml') == -1
" Vim syntax file
diff --git a/syntax/ocamlbuild_tags.vim b/syntax/ocamlbuild_tags.vim
index 7f73366b..469ce7b8 100644
--- a/syntax/ocamlbuild_tags.vim
+++ b/syntax/ocamlbuild_tags.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ocamlbuild_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, 'ocaml') == -1
if exists("b:current_syntax")
diff --git a/syntax/occam.vim b/syntax/occam.vim
index dc42ecf4..b0da63cb 100644
--- a/syntax/occam.vim
+++ b/syntax/occam.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/occam.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, 'occam') == -1
" Vim syntax file
diff --git a/syntax/ocpbuild.vim b/syntax/ocpbuild.vim
index 98b0ab3c..e644d6de 100644
--- a/syntax/ocpbuild.vim
+++ b/syntax/ocpbuild.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ocpbuild.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, 'ocaml') == -1
" Vim syntax file
diff --git a/syntax/ocpbuildroot.vim b/syntax/ocpbuildroot.vim
index 48dc476a..cebc26b7 100644
--- a/syntax/ocpbuildroot.vim
+++ b/syntax/ocpbuildroot.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ocpbuildroot.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, 'ocaml') == -1
" Vim syntax file
diff --git a/syntax/octave.vim b/syntax/octave.vim
index 64bdf011..686680a4 100644
--- a/syntax/octave.vim
+++ b/syntax/octave.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/octave.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, 'octave') == -1
" Vim syntax file
diff --git a/syntax/odin.vim b/syntax/odin.vim
index 393929e9..23af1127 100644
--- a/syntax/odin.vim
+++ b/syntax/odin.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/odin.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, 'odin') == -1
if exists("b:current_syntax")
diff --git a/syntax/omake.vim b/syntax/omake.vim
index 47edd57e..8de5c2fc 100644
--- a/syntax/omake.vim
+++ b/syntax/omake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/omake.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, 'ocaml') == -1
" Vim syntax file
diff --git a/syntax/omnimark.vim b/syntax/omnimark.vim
index 315bfb78..11c9edb0 100644
--- a/syntax/omnimark.vim
+++ b/syntax/omnimark.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/omnimark.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, 'omnimark') == -1
" Vim syntax file
diff --git a/syntax/opam.vim b/syntax/opam.vim
index a300b3b9..f9a8ee86 100644
--- a/syntax/opam.vim
+++ b/syntax/opam.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/opam.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, 'ocaml') == -1
if exists("b:current_syntax")
diff --git a/syntax/opencl.vim b/syntax/opencl.vim
index 57035ac0..8e82d0c4 100644
--- a/syntax/opencl.vim
+++ b/syntax/opencl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/opencl.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, 'opencl') == -1
" Vim syntax file
diff --git a/syntax/openroad.vim b/syntax/openroad.vim
index 1e5730cc..022e4515 100644
--- a/syntax/openroad.vim
+++ b/syntax/openroad.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/openroad.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, 'openroad') == -1
" Vim syntax file
diff --git a/syntax/opl.vim b/syntax/opl.vim
index fcf3eb51..8e19cc0f 100644
--- a/syntax/opl.vim
+++ b/syntax/opl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/opl.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, 'opl') == -1
" Vim syntax file
diff --git a/syntax/ora.vim b/syntax/ora.vim
index c8a43aff..68921f69 100644
--- a/syntax/ora.vim
+++ b/syntax/ora.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ora.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, 'ora') == -1
" Vim syntax file
diff --git a/syntax/pamconf.vim b/syntax/pamconf.vim
index 3f6155da..12832522 100644
--- a/syntax/pamconf.vim
+++ b/syntax/pamconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pamconf.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, 'pamconf') == -1
" Vim syntax file
diff --git a/syntax/pamenv.vim b/syntax/pamenv.vim
index ac6e9129..49992c9a 100644
--- a/syntax/pamenv.vim
+++ b/syntax/pamenv.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pamenv.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, 'pamenv') == -1
" Vim syntax file
diff --git a/syntax/papp.vim b/syntax/papp.vim
index 24efa444..658da9cb 100644
--- a/syntax/papp.vim
+++ b/syntax/papp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/papp.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, 'papp') == -1
" Vim syntax file for the "papp" file format (_p_erl _app_lication)
diff --git a/syntax/pascal.vim b/syntax/pascal.vim
index 8e9b0f75..ebcdc30d 100644
--- a/syntax/pascal.vim
+++ b/syntax/pascal.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pascal.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, 'pascal') == -1
" Vim syntax file
diff --git a/syntax/passwd.vim b/syntax/passwd.vim
index c63bdc83..707dac36 100644
--- a/syntax/passwd.vim
+++ b/syntax/passwd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/passwd.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, 'passwd') == -1
" Vim syntax file
diff --git a/syntax/pccts.vim b/syntax/pccts.vim
index d28574b4..353eb0e8 100644
--- a/syntax/pccts.vim
+++ b/syntax/pccts.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pccts.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, 'pccts') == -1
" Vim syntax file
diff --git a/syntax/pdf.vim b/syntax/pdf.vim
index 621ccacd..6ff6ed35 100644
--- a/syntax/pdf.vim
+++ b/syntax/pdf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pdf.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, 'pdf') == -1
" Vim syntax file
diff --git a/syntax/perl.vim b/syntax/perl.vim
index b7a10a19..b4316b13 100644
--- a/syntax/perl.vim
+++ b/syntax/perl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/perl.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, 'perl') == -1
" Vim syntax file
diff --git a/syntax/pf.vim b/syntax/pf.vim
index 11b78662..cdd727c1 100644
--- a/syntax/pf.vim
+++ b/syntax/pf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pf.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, 'pf') == -1
" pf syntax file
diff --git a/syntax/pfmain.vim b/syntax/pfmain.vim
index 9ef35288..1afe6b79 100644
--- a/syntax/pfmain.vim
+++ b/syntax/pfmain.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pfmain.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, 'pfmain') == -1
" Vim syntax file
diff --git a/syntax/pgsql.vim b/syntax/pgsql.vim
index c85b97cb..4339eb42 100644
--- a/syntax/pgsql.vim
+++ b/syntax/pgsql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pgsql.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, 'pgsql') == -1
" Vim syntax file
diff --git a/syntax/php.vim b/syntax/php.vim
index 5ad91253..ef838254 100644
--- a/syntax/php.vim
+++ b/syntax/php.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/php.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, 'php') == -1
" Vim syntax file
diff --git a/syntax/pike.vim b/syntax/pike.vim
index ffbdb362..617a7438 100644
--- a/syntax/pike.vim
+++ b/syntax/pike.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pike.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, 'pike') == -1
" Vim syntax file
diff --git a/syntax/pilrc.vim b/syntax/pilrc.vim
index fdb80ca0..3c7c413b 100644
--- a/syntax/pilrc.vim
+++ b/syntax/pilrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pilrc.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, 'pilrc') == -1
" Vim syntax file
diff --git a/syntax/pine.vim b/syntax/pine.vim
index 5bc607b7..ef1f3977 100644
--- a/syntax/pine.vim
+++ b/syntax/pine.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pine.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, 'pine') == -1
" Vim syntax file
diff --git a/syntax/pinfo.vim b/syntax/pinfo.vim
index 80c08406..e2b8fcd7 100644
--- a/syntax/pinfo.vim
+++ b/syntax/pinfo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pinfo.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, 'pinfo') == -1
" Vim syntax file
diff --git a/syntax/plantuml.vim b/syntax/plantuml.vim
index f8d7f4e6..84ad75fe 100644
--- a/syntax/plantuml.vim
+++ b/syntax/plantuml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/plantuml.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, 'plantuml') == -1
scriptencoding utf-8
diff --git a/syntax/pli.vim b/syntax/pli.vim
index 904a1056..c10363af 100644
--- a/syntax/pli.vim
+++ b/syntax/pli.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pli.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, 'pli') == -1
" Vim syntax file
diff --git a/syntax/plm.vim b/syntax/plm.vim
index e58996db..c727f2fa 100644
--- a/syntax/plm.vim
+++ b/syntax/plm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/plm.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, 'plm') == -1
" Vim syntax file
diff --git a/syntax/plp.vim b/syntax/plp.vim
index 6246b0b2..d5f98d60 100644
--- a/syntax/plp.vim
+++ b/syntax/plp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/plp.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, 'plp') == -1
" Vim syntax file
diff --git a/syntax/plsql.vim b/syntax/plsql.vim
index 6797cd72..867a9498 100644
--- a/syntax/plsql.vim
+++ b/syntax/plsql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/plsql.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, 'plsql') == -1
" Vim syntax file
diff --git a/syntax/po.vim b/syntax/po.vim
index f615205b..efda99b8 100644
--- a/syntax/po.vim
+++ b/syntax/po.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/po.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, 'po') == -1
" Vim syntax file
diff --git a/syntax/pod.vim b/syntax/pod.vim
index 737fe842..a0292161 100644
--- a/syntax/pod.vim
+++ b/syntax/pod.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pod.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, 'perl') == -1
" Vim syntax file
diff --git a/syntax/pony.vim b/syntax/pony.vim
index 9f790b5a..770c8257 100644
--- a/syntax/pony.vim
+++ b/syntax/pony.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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 syntax file
diff --git a/syntax/postscr.vim b/syntax/postscr.vim
index 3062adcc..fdc83cea 100644
--- a/syntax/postscr.vim
+++ b/syntax/postscr.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/postscr.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, 'postscr') == -1
" Vim syntax file
diff --git a/syntax/pov.vim b/syntax/pov.vim
index 13c7fb47..357ddbc2 100644
--- a/syntax/pov.vim
+++ b/syntax/pov.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pov.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, 'pov') == -1
" Vim syntax file
diff --git a/syntax/povini.vim b/syntax/povini.vim
index 56830e47..773124af 100644
--- a/syntax/povini.vim
+++ b/syntax/povini.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/povini.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, 'povini') == -1
" Vim syntax file
diff --git a/syntax/ppd.vim b/syntax/ppd.vim
index 6ef1b6c9..6418cde8 100644
--- a/syntax/ppd.vim
+++ b/syntax/ppd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ppd.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, 'ppd') == -1
" Vim syntax file
diff --git a/syntax/ppwiz.vim b/syntax/ppwiz.vim
index 43510efd..17d43a1e 100644
--- a/syntax/ppwiz.vim
+++ b/syntax/ppwiz.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ppwiz.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, 'ppwiz') == -1
" Vim syntax file
diff --git a/syntax/privoxy.vim b/syntax/privoxy.vim
index 9911eb37..3660977b 100644
--- a/syntax/privoxy.vim
+++ b/syntax/privoxy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/privoxy.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, 'privoxy') == -1
" Vim syntax file
diff --git a/syntax/procmail.vim b/syntax/procmail.vim
index 4386f0c1..104f0bab 100644
--- a/syntax/procmail.vim
+++ b/syntax/procmail.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/procmail.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, 'procmail') == -1
" Vim syntax file
diff --git a/syntax/prolog.vim b/syntax/prolog.vim
index 4d6cb0be..60545b07 100644
--- a/syntax/prolog.vim
+++ b/syntax/prolog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/prolog.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, 'prolog') == -1
" Vim syntax file
diff --git a/syntax/promela.vim b/syntax/promela.vim
index e32a71b1..6c09d59a 100644
--- a/syntax/promela.vim
+++ b/syntax/promela.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/promela.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, 'promela') == -1
" Vim syntax file
diff --git a/syntax/proto.vim b/syntax/proto.vim
index ce232f53..62d0fab9 100644
--- a/syntax/proto.vim
+++ b/syntax/proto.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/proto.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, 'protobuf') == -1
" Protocol Buffers - Google's data interchange format
diff --git a/syntax/protocols.vim b/syntax/protocols.vim
index 275c5a09..986530a9 100644
--- a/syntax/protocols.vim
+++ b/syntax/protocols.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/protocols.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, 'protocols') == -1
" Vim syntax file
diff --git a/syntax/ps1.vim b/syntax/ps1.vim
index 4a9751a8..9d9d2f28 100644
--- a/syntax/ps1.vim
+++ b/syntax/ps1.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ps1.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, 'powershell') == -1
" Vim syntax file
diff --git a/syntax/ps1xml.vim b/syntax/ps1xml.vim
index 9c747879..0032d2fa 100644
--- a/syntax/ps1xml.vim
+++ b/syntax/ps1xml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ps1xml.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, 'powershell') == -1
" Vim syntax file
diff --git a/syntax/psf.vim b/syntax/psf.vim
index a76e8cfc..2be42943 100644
--- a/syntax/psf.vim
+++ b/syntax/psf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/psf.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, 'psf') == -1
" Vim syntax file
diff --git a/syntax/pug.vim b/syntax/pug.vim
index d393dab6..880ea6d2 100644
--- a/syntax/pug.vim
+++ b/syntax/pug.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pug.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, 'pug') == -1
" Vim syntax file
diff --git a/syntax/puppet.vim b/syntax/puppet.vim
index 744de1c8..9ca98f9a 100644
--- a/syntax/puppet.vim
+++ b/syntax/puppet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/puppet.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
" Language: Puppet
diff --git a/syntax/purescript.vim b/syntax/purescript.vim
index 346bc8e5..f8a396ce 100644
--- a/syntax/purescript.vim
+++ b/syntax/purescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/purescript.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, 'purescript') == -1
" syntax highlighting for purescript
diff --git a/syntax/pyrex.vim b/syntax/pyrex.vim
index c90163ac..9d7fa464 100644
--- a/syntax/pyrex.vim
+++ b/syntax/pyrex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/pyrex.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, 'pyrex') == -1
" Vim syntax file
diff --git a/syntax/python.vim b/syntax/python.vim
index b6ea6529..b7dcac5a 100644
--- a/syntax/python.vim
+++ b/syntax/python.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/python.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') == -1
" For version 5.x: Clear all syntax items
diff --git a/syntax/qmake.vim b/syntax/qmake.vim
index 5639b994..4f3a748f 100644
--- a/syntax/qmake.vim
+++ b/syntax/qmake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/qmake.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, 'qmake') == -1
" qmake project syntax file
diff --git a/syntax/qml.vim b/syntax/qml.vim
index 15f1d255..3189be60 100644
--- a/syntax/qml.vim
+++ b/syntax/qml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/qml.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, 'qml') == -1
diff --git a/syntax/quake.vim b/syntax/quake.vim
index 34d553bb..5d27ae2b 100644
--- a/syntax/quake.vim
+++ b/syntax/quake.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/quake.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, 'quake') == -1
" Vim syntax file
diff --git a/syntax/racket.vim b/syntax/racket.vim
index 8bd46a88..4988ac30 100644
--- a/syntax/racket.vim
+++ b/syntax/racket.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/racket.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, 'racket') == -1
" Vim syntax file
diff --git a/syntax/radiance.vim b/syntax/radiance.vim
index 245d4672..d608e036 100644
--- a/syntax/radiance.vim
+++ b/syntax/radiance.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/radiance.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, 'radiance') == -1
" Vim syntax file
diff --git a/syntax/ragel.vim b/syntax/ragel.vim
index 0ac49771..605aeb18 100644
--- a/syntax/ragel.vim
+++ b/syntax/ragel.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ragel.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, 'ragel') == -1
" Vim syntax file
diff --git a/syntax/raku.vim b/syntax/raku.vim
index 008c3c4f..510a2e23 100644
--- a/syntax/raku.vim
+++ b/syntax/raku.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/raku.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, 'raku') == -1
" Vim syntax file
diff --git a/syntax/raml.vim b/syntax/raml.vim
index 69f7439c..5ba1c953 100644
--- a/syntax/raml.vim
+++ b/syntax/raml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/raml.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, 'raml') == -1
" Vim syntax file
diff --git a/syntax/ratpoison.vim b/syntax/ratpoison.vim
index 9719e638..ef8ad5a8 100644
--- a/syntax/ratpoison.vim
+++ b/syntax/ratpoison.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ratpoison.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, 'ratpoison') == -1
" Vim syntax file
diff --git a/syntax/razor.vim b/syntax/razor.vim
index 63c08cf3..61429dfc 100644
--- a/syntax/razor.vim
+++ b/syntax/razor.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/razor.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, 'razor') == -1
if exists("b:current_syntax")
diff --git a/syntax/rc.vim b/syntax/rc.vim
index e20a43f9..09234404 100644
--- a/syntax/rc.vim
+++ b/syntax/rc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rc.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, 'rc') == -1
" Vim syntax file
diff --git a/syntax/rcs.vim b/syntax/rcs.vim
index 65ac8092..62c7c81d 100644
--- a/syntax/rcs.vim
+++ b/syntax/rcs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rcs.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, 'rcs') == -1
" Vim syntax file
diff --git a/syntax/readline.vim b/syntax/readline.vim
index e4a0971c..014802c0 100644
--- a/syntax/readline.vim
+++ b/syntax/readline.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/readline.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, 'readline') == -1
" Vim syntax file
diff --git a/syntax/reason.vim b/syntax/reason.vim
index f7188c68..e98bf608 100644
--- a/syntax/reason.vim
+++ b/syntax/reason.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/reason.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, 'reason') == -1
" Vim syntax file
diff --git a/syntax/rego.vim b/syntax/rego.vim
index 6a4fdec0..5fc0a6a2 100644
--- a/syntax/rego.vim
+++ b/syntax/rego.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rego.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, 'rego') == -1
" Vim syntax file
diff --git a/syntax/remind.vim b/syntax/remind.vim
index a63b978f..40501da6 100644
--- a/syntax/remind.vim
+++ b/syntax/remind.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/remind.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, 'remind') == -1
" Vim syntax file
diff --git a/syntax/requirements.vim b/syntax/requirements.vim
index e9392815..63289155 100644
--- a/syntax/requirements.vim
+++ b/syntax/requirements.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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/syntax/resolv.vim b/syntax/resolv.vim
index a847a7d7..0f0f1734 100644
--- a/syntax/resolv.vim
+++ b/syntax/resolv.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/resolv.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, 'resolv') == -1
" Vim syntax file
diff --git a/syntax/reva.vim b/syntax/reva.vim
index e8ff0c73..e4175f55 100644
--- a/syntax/reva.vim
+++ b/syntax/reva.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/reva.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, 'reva') == -1
" Vim syntax file
diff --git a/syntax/rexx.vim b/syntax/rexx.vim
index 642e4305..f9310fb8 100644
--- a/syntax/rexx.vim
+++ b/syntax/rexx.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rexx.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, 'rexx') == -1
" Vim syntax file
diff --git a/syntax/rhelp.vim b/syntax/rhelp.vim
index 42d3b004..ca7af315 100644
--- a/syntax/rhelp.vim
+++ b/syntax/rhelp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rhelp.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, 'r-lang') == -1
" Vim syntax file
diff --git a/syntax/rib.vim b/syntax/rib.vim
index 2d1ceadd..eac47d85 100644
--- a/syntax/rib.vim
+++ b/syntax/rib.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rib.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, 'rib') == -1
" Vim syntax file
diff --git a/syntax/rmd.vim b/syntax/rmd.vim
index 521998ae..dd8292cd 100644
--- a/syntax/rmd.vim
+++ b/syntax/rmd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rmd.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, 'rmd') == -1
" markdown Text with R statements
diff --git a/syntax/rnc.vim b/syntax/rnc.vim
index df6ba30c..c07c7a0d 100644
--- a/syntax/rnc.vim
+++ b/syntax/rnc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rnc.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, 'rnc') == -1
" Vim syntax file
diff --git a/syntax/rng.vim b/syntax/rng.vim
index ba681ef3..75de79f4 100644
--- a/syntax/rng.vim
+++ b/syntax/rng.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rng.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, 'rng') == -1
" Vim syntax file
diff --git a/syntax/rnoweb-1.vim b/syntax/rnoweb-1.vim
index e3906c1c..aa6b2b9e 100644
--- a/syntax/rnoweb-1.vim
+++ b/syntax/rnoweb-1.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rnoweb.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, 'r-lang') == -1
" Vim syntax file
diff --git a/syntax/rnoweb-2.vim b/syntax/rnoweb-2.vim
index 17a656dd..daba14c7 100644
--- a/syntax/rnoweb-2.vim
+++ b/syntax/rnoweb-2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rnoweb-2.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, 'rnoweb') == -1
" Vim syntax file
diff --git a/syntax/robots.vim b/syntax/robots.vim
index 724b70b9..e2b5ecdd 100644
--- a/syntax/robots.vim
+++ b/syntax/robots.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/robots.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, 'robots') == -1
" Vim syntax file
diff --git a/syntax/rpcgen.vim b/syntax/rpcgen.vim
index f15e6564..ee911f4e 100644
--- a/syntax/rpcgen.vim
+++ b/syntax/rpcgen.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rpcgen.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, 'rpcgen') == -1
" Vim syntax file
diff --git a/syntax/rpl.vim b/syntax/rpl.vim
index be71c4d5..3f49ccf1 100644
--- a/syntax/rpl.vim
+++ b/syntax/rpl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rpl.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, 'rpl') == -1
" Vim syntax file
diff --git a/syntax/rrst.vim b/syntax/rrst.vim
index f6d3dc23..57620048 100644
--- a/syntax/rrst.vim
+++ b/syntax/rrst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rrst.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, 'rrst') == -1
" reStructured Text with R statements
diff --git a/syntax/rst.vim b/syntax/rst.vim
index 4995af9f..6a729d1d 100644
--- a/syntax/rst.vim
+++ b/syntax/rst.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rst.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
" Vim reST syntax file
diff --git a/syntax/rtf.vim b/syntax/rtf.vim
index d795c932..1528dab8 100644
--- a/syntax/rtf.vim
+++ b/syntax/rtf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/rtf.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, 'rtf') == -1
" Vim syntax file
diff --git a/syntax/ruby.vim b/syntax/ruby.vim
index 898f811e..f61566ec 100644
--- a/syntax/ruby.vim
+++ b/syntax/ruby.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/ruby.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 syntax file
diff --git a/syntax/rust.vim b/syntax/rust.vim
index a5f312be..90fce408 100644
--- a/syntax/rust.vim
+++ b/syntax/rust.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Vim syntax file
diff --git a/syntax/samba.vim b/syntax/samba.vim
index 9d481ac3..e9bff267 100644
--- a/syntax/samba.vim
+++ b/syntax/samba.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/samba.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, 'samba') == -1
" Vim syntax file
diff --git a/syntax/sas.vim b/syntax/sas.vim
index 1ae23c7f..ba85b4fb 100644
--- a/syntax/sas.vim
+++ b/syntax/sas.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sas.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, 'sas') == -1
" Vim syntax file
diff --git a/syntax/sass.vim b/syntax/sass.vim
index 4a49026f..e9b4be3b 100644
--- a/syntax/sass.vim
+++ b/syntax/sass.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sass.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, 'sass') == -1
" Vim syntax file
diff --git a/syntax/sather.vim b/syntax/sather.vim
index 9c3d4504..70a1eaae 100644
--- a/syntax/sather.vim
+++ b/syntax/sather.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sather.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, 'sather') == -1
" Vim syntax file
diff --git a/syntax/sbt.vim b/syntax/sbt.vim
index 2a280624..ee59f9b1 100644
--- a/syntax/sbt.vim
+++ b/syntax/sbt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sbt.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, 'sbt') == -1
" Vim syntax file
diff --git a/syntax/scala.vim b/syntax/scala.vim
index 10f884f4..f4b0406d 100644
--- a/syntax/scala.vim
+++ b/syntax/scala.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/scala.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, 'scala') == -1
" Vim syntax file
diff --git a/syntax/scheme.vim b/syntax/scheme.vim
index c8430939..25fc6dcc 100644
--- a/syntax/scheme.vim
+++ b/syntax/scheme.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/scheme.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, 'scheme') == -1
" Vim syntax file
diff --git a/syntax/scilab.vim b/syntax/scilab.vim
index 033aa21d..3b311f6c 100644
--- a/syntax/scilab.vim
+++ b/syntax/scilab.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/scilab.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, 'scilab') == -1
"
diff --git a/syntax/screen.vim b/syntax/screen.vim
index b3fe603f..bcafa9e2 100644
--- a/syntax/screen.vim
+++ b/syntax/screen.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/screen.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, 'screen') == -1
" Vim syntax file
diff --git a/syntax/scss.vim b/syntax/scss.vim
index 5e40d35c..73345678 100644
--- a/syntax/scss.vim
+++ b/syntax/scss.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/scss.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, 'scss') == -1
" Vim syntax file
diff --git a/syntax/sd.vim b/syntax/sd.vim
index 9b220b72..dde0f4f7 100644
--- a/syntax/sd.vim
+++ b/syntax/sd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sd.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, 'sd') == -1
" Language: streaming descriptor file
diff --git a/syntax/sdc.vim b/syntax/sdc.vim
index 286482ff..4d9db312 100644
--- a/syntax/sdc.vim
+++ b/syntax/sdc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sdc.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, 'sdc') == -1
" Vim syntax file
diff --git a/syntax/sdl.vim b/syntax/sdl.vim
index 7d31fba0..1b13ac4a 100644
--- a/syntax/sdl.vim
+++ b/syntax/sdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sdl.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, 'sdl') == -1
" Vim syntax file
diff --git a/syntax/sed.vim b/syntax/sed.vim
index 2e4690c7..338b5cc3 100644
--- a/syntax/sed.vim
+++ b/syntax/sed.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sed.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, 'sed') == -1
" Vim syntax file
diff --git a/syntax/sensors.vim b/syntax/sensors.vim
index e0c1185a..087e7fae 100644
--- a/syntax/sensors.vim
+++ b/syntax/sensors.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sensors.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, 'sensors') == -1
" Vim syntax file
diff --git a/syntax/services.vim b/syntax/services.vim
index 5e4debd9..fae3e65e 100644
--- a/syntax/services.vim
+++ b/syntax/services.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/services.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, 'services') == -1
" Vim syntax file
diff --git a/syntax/setserial.vim b/syntax/setserial.vim
index 63939544..43a5f73f 100644
--- a/syntax/setserial.vim
+++ b/syntax/setserial.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/setserial.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, 'setserial') == -1
" Vim syntax file
diff --git a/syntax/sexplib.vim b/syntax/sexplib.vim
index 4d7fc1e1..ff669244 100644
--- a/syntax/sexplib.vim
+++ b/syntax/sexplib.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sexplib.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, 'ocaml') == -1
" Vim syntax file
diff --git a/syntax/sh.vim b/syntax/sh.vim
index 96a70e2f..3abe2d9d 100644
--- a/syntax/sh.vim
+++ b/syntax/sh.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sh.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, 'sh') == -1
" Shebang
diff --git a/syntax/sieve.vim b/syntax/sieve.vim
index 21a8e1e8..8d8ad8f2 100644
--- a/syntax/sieve.vim
+++ b/syntax/sieve.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sieve.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, 'sieve') == -1
" Vim syntax file
diff --git a/syntax/sil.vim b/syntax/sil.vim
index e1d55231..a4bf5359 100644
--- a/syntax/sil.vim
+++ b/syntax/sil.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sil.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, 'sil') == -1
" This source file is part of the Swift.org open source project
diff --git a/syntax/simula.vim b/syntax/simula.vim
index 2806cfe7..5d83519e 100644
--- a/syntax/simula.vim
+++ b/syntax/simula.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/simula.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, 'simula') == -1
" Vim syntax file
diff --git a/syntax/sinda.vim b/syntax/sinda.vim
index b2b4ce09..27f22df6 100644
--- a/syntax/sinda.vim
+++ b/syntax/sinda.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sinda.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, 'sinda') == -1
" Vim syntax file
diff --git a/syntax/sisu.vim b/syntax/sisu.vim
index d67a14c9..f703e138 100644
--- a/syntax/sisu.vim
+++ b/syntax/sisu.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sisu.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, 'sisu') == -1
" SiSU Vim syntax file
diff --git a/syntax/skill.vim b/syntax/skill.vim
index cddbb41a..ed1c1975 100644
--- a/syntax/skill.vim
+++ b/syntax/skill.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/skill.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, 'skill') == -1
" Vim syntax file
diff --git a/syntax/slang.vim b/syntax/slang.vim
index 48f209b7..92bd79e3 100644
--- a/syntax/slang.vim
+++ b/syntax/slang.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slang.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, 'slang') == -1
" Vim syntax file
diff --git a/syntax/slice.vim b/syntax/slice.vim
index 8a158ee0..6b595d08 100644
--- a/syntax/slice.vim
+++ b/syntax/slice.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slice.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, 'slice') == -1
" Vim syntax file
diff --git a/syntax/slim.vim b/syntax/slim.vim
index 40ad0a1d..91f74f98 100644
--- a/syntax/slim.vim
+++ b/syntax/slim.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slim.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, 'slim') == -1
" Vim syntax file
diff --git a/syntax/slime.vim b/syntax/slime.vim
index d6f3076c..b47b79bc 100644
--- a/syntax/slime.vim
+++ b/syntax/slime.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slime.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, 'slime') == -1
" Vim syntax file
diff --git a/syntax/slpconf.vim b/syntax/slpconf.vim
index e134c596..1c70cbff 100644
--- a/syntax/slpconf.vim
+++ b/syntax/slpconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slpconf.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, 'slpconf') == -1
" Vim syntax file
diff --git a/syntax/slpreg.vim b/syntax/slpreg.vim
index d8f50cae..26b5c09d 100644
--- a/syntax/slpreg.vim
+++ b/syntax/slpreg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slpreg.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, 'slpreg') == -1
" Vim syntax file
diff --git a/syntax/slpspi.vim b/syntax/slpspi.vim
index bbf176ef..7c78ff5b 100644
--- a/syntax/slpspi.vim
+++ b/syntax/slpspi.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slpspi.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, 'slpspi') == -1
" Vim syntax file
diff --git a/syntax/slrnrc.vim b/syntax/slrnrc.vim
index 262044ac..5f03453e 100644
--- a/syntax/slrnrc.vim
+++ b/syntax/slrnrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slrnrc.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, 'slrnrc') == -1
" Vim syntax file
diff --git a/syntax/slrnsc.vim b/syntax/slrnsc.vim
index 74d6ea69..3d168331 100644
--- a/syntax/slrnsc.vim
+++ b/syntax/slrnsc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/slrnsc.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, 'slrnsc') == -1
" Vim syntax file
diff --git a/syntax/sm.vim b/syntax/sm.vim
index 5ebe510e..b1336a6c 100644
--- a/syntax/sm.vim
+++ b/syntax/sm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sm.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, 'sm') == -1
" Vim syntax file
diff --git a/syntax/smarty.vim b/syntax/smarty.vim
index 5ac25bc6..edda9d81 100644
--- a/syntax/smarty.vim
+++ b/syntax/smarty.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/smarty.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, 'smarty') == -1
" Vim syntax file
diff --git a/syntax/smcl.vim b/syntax/smcl.vim
index 57bac558..02444356 100644
--- a/syntax/smcl.vim
+++ b/syntax/smcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/smcl.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, 'smcl') == -1
" smcl.vim -- Vim syntax file for smcl files.
diff --git a/syntax/smhl.vim b/syntax/smhl.vim
index a36d647f..6e827414 100644
--- a/syntax/smhl.vim
+++ b/syntax/smhl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/smhl.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, 'typescript') == -1
syntax cluster _semantic contains=_semantic1,_semantic2,_semantic3,_semantic4,_semantic5,_semantic6,_semantic7,_semantic8,_semantic9,_semantic10,_semantic11,_semantic12,_semantic13,_semantic14,_semantic15,_semantic16,_semantic17,_semantic18,_semantic19,_semantic20,_semantic21,_semantic22,_semantic23,_semantic24,_semantic25
diff --git a/syntax/smith.vim b/syntax/smith.vim
index 7d3a67b7..10b5b55b 100644
--- a/syntax/smith.vim
+++ b/syntax/smith.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/smith.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, 'smith') == -1
" Vim syntax file
diff --git a/syntax/sml.vim b/syntax/sml.vim
index b4ff495d..1970e999 100644
--- a/syntax/sml.vim
+++ b/syntax/sml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sml.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, 'sml') == -1
" Vim syntax file
diff --git a/syntax/smt2.vim b/syntax/smt2.vim
index 5fa941d4..0ca504ea 100644
--- a/syntax/smt2.vim
+++ b/syntax/smt2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Vim syntax file
diff --git a/syntax/snobol4.vim b/syntax/snobol4.vim
index 0f88911c..a2787f15 100644
--- a/syntax/snobol4.vim
+++ b/syntax/snobol4.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/snobol4.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, 'snobol4') == -1
" Vim syntax file
diff --git a/syntax/solidity.vim b/syntax/solidity.vim
index ebf9549d..4f2a15e5 100644
--- a/syntax/solidity.vim
+++ b/syntax/solidity.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/solidity.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, 'solidity') == -1
" Vim syntax file
diff --git a/syntax/spec.vim b/syntax/spec.vim
index 570dea78..3d7cf35d 100644
--- a/syntax/spec.vim
+++ b/syntax/spec.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/spec.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, 'spec') == -1
" Filename: spec.vim
diff --git a/syntax/spice.vim b/syntax/spice.vim
index c168154a..42c882cb 100644
--- a/syntax/spice.vim
+++ b/syntax/spice.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/spice.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, 'spice') == -1
" Vim syntax file
diff --git a/syntax/spup.vim b/syntax/spup.vim
index 71af16f9..de338995 100644
--- a/syntax/spup.vim
+++ b/syntax/spup.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/spup.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, 'spup') == -1
" Vim syntax file
diff --git a/syntax/spyce.vim b/syntax/spyce.vim
index 2c87ffb4..24bf358d 100644
--- a/syntax/spyce.vim
+++ b/syntax/spyce.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/spyce.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, 'spyce') == -1
" Vim syntax file
diff --git a/syntax/sql.vim b/syntax/sql.vim
index 54cc4673..e0979489 100644
--- a/syntax/sql.vim
+++ b/syntax/sql.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sql.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, 'sql') == -1
" Vim syntax file loader
diff --git a/syntax/sqlj.vim b/syntax/sqlj.vim
index b043fe5a..74193bc3 100644
--- a/syntax/sqlj.vim
+++ b/syntax/sqlj.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sqlj.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, 'sqlj') == -1
" Vim syntax file
diff --git a/syntax/sqloracle.vim b/syntax/sqloracle.vim
index eb3390ba..494f8c91 100644
--- a/syntax/sqloracle.vim
+++ b/syntax/sqloracle.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sqloracle.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, 'sql') == -1
" Vim syntax file
diff --git a/syntax/sqr.vim b/syntax/sqr.vim
index f8812c0d..89474ff3 100644
--- a/syntax/sqr.vim
+++ b/syntax/sqr.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sqr.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, 'sqr') == -1
" Vim syntax file
diff --git a/syntax/squid.vim b/syntax/squid.vim
index 2749a530..05d4dd7e 100644
--- a/syntax/squid.vim
+++ b/syntax/squid.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/squid.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, 'squid') == -1
" Vim syntax file
diff --git a/syntax/srec.vim b/syntax/srec.vim
index 65148010..5375700e 100644
--- a/syntax/srec.vim
+++ b/syntax/srec.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/srec.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, 'srec') == -1
" Vim syntax file
diff --git a/syntax/sshconfig.vim b/syntax/sshconfig.vim
index c8e666d8..7ba0d05f 100644
--- a/syntax/sshconfig.vim
+++ b/syntax/sshconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sshconfig.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, 'sshconfig') == -1
" Vim syntax file
diff --git a/syntax/sshdconfig.vim b/syntax/sshdconfig.vim
index 7e45086c..49c9d1f6 100644
--- a/syntax/sshdconfig.vim
+++ b/syntax/sshdconfig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sshdconfig.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, 'sshdconfig') == -1
" Vim syntax file
diff --git a/syntax/st.vim b/syntax/st.vim
index a642ffa9..c5ea4850 100644
--- a/syntax/st.vim
+++ b/syntax/st.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/st.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, 'st') == -1
" Vim syntax file
diff --git a/syntax/stata.vim b/syntax/stata.vim
index 9098914b..9a972ad0 100644
--- a/syntax/stata.vim
+++ b/syntax/stata.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/stata.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, 'stata') == -1
" stata.vim -- Vim syntax file for Stata do, ado, and class files.
diff --git a/syntax/stp.vim b/syntax/stp.vim
index f40a4eb2..04c70fe4 100644
--- a/syntax/stp.vim
+++ b/syntax/stp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/stp.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, 'stp') == -1
" Vim syntax file
diff --git a/syntax/stylus.vim b/syntax/stylus.vim
index 36972ad6..0f32d2d8 100644
--- a/syntax/stylus.vim
+++ b/syntax/stylus.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/stylus.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, 'stylus') == -1
" Vim syntax file
diff --git a/syntax/sudoers.vim b/syntax/sudoers.vim
index 298ddb9c..4482fac7 100644
--- a/syntax/sudoers.vim
+++ b/syntax/sudoers.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sudoers.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, 'sudoers') == -1
" Vim syntax file
diff --git a/syntax/svelte.vim b/syntax/svelte.vim
index 0654b203..377964e6 100644
--- a/syntax/svelte.vim
+++ b/syntax/svelte.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/svelte.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, 'svelte') == -1
" Vim syntax file
diff --git a/syntax/svg.vim b/syntax/svg.vim
index 979d0a70..676cfc9f 100644
--- a/syntax/svg.vim
+++ b/syntax/svg.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/svg.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, 'svg') == -1
" Vim syntax file
diff --git a/syntax/svn.vim b/syntax/svn.vim
index 6d1fa476..ae7f7875 100644
--- a/syntax/svn.vim
+++ b/syntax/svn.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/svn.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, 'svn') == -1
" Vim syntax file
diff --git a/syntax/swift.vim b/syntax/swift.vim
index 6c988338..26d9d7a0 100644
--- a/syntax/swift.vim
+++ b/syntax/swift.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/swift.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, 'swift') == -1
" File: swift.vim
diff --git a/syntax/swiftgyb.vim b/syntax/swiftgyb.vim
index c9a8851b..b85fe036 100644
--- a/syntax/swiftgyb.vim
+++ b/syntax/swiftgyb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/swiftgyb.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, 'swiftgyb') == -1
" This source file is part of the Swift.org open source project
diff --git a/syntax/sxhkdrc.vim b/syntax/sxhkdrc.vim
index c44ab0c0..7f413409 100644
--- a/syntax/sxhkdrc.vim
+++ b/syntax/sxhkdrc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sxhkdrc.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, 'sxhkd') == -1
if exists("b:current_syntax")
diff --git a/syntax/sysctl.vim b/syntax/sysctl.vim
index 0e8eb0bf..1fccb984 100644
--- a/syntax/sysctl.vim
+++ b/syntax/sysctl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/sysctl.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, 'sysctl') == -1
" Vim syntax file
diff --git a/syntax/systemd.vim b/syntax/systemd.vim
index fdf4b764..d7219719 100644
--- a/syntax/systemd.vim
+++ b/syntax/systemd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/systemd.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, 'systemd') == -1
" Filename: systemd.vim
diff --git a/syntax/systemverilog.vim b/syntax/systemverilog.vim
index 83eecaa7..823780ad 100644
--- a/syntax/systemverilog.vim
+++ b/syntax/systemverilog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/systemverilog.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, 'systemverilog') == -1
" Vim syntax file
diff --git a/syntax/tablegen.vim b/syntax/tablegen.vim
index 41928648..ab77c623 100644
--- a/syntax/tablegen.vim
+++ b/syntax/tablegen.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tablegen.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, 'llvm') == -1
" Vim syntax file
diff --git a/syntax/tads.vim b/syntax/tads.vim
index e4737535..e47cad71 100644
--- a/syntax/tads.vim
+++ b/syntax/tads.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tads.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, 'tads') == -1
" Vim syntax file
diff --git a/syntax/tags.vim b/syntax/tags.vim
index 9853f395..b3b5b36d 100644
--- a/syntax/tags.vim
+++ b/syntax/tags.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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, 'tags') == -1
" Language: tags
diff --git a/syntax/tak.vim b/syntax/tak.vim
index 275a57c9..14922939 100644
--- a/syntax/tak.vim
+++ b/syntax/tak.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tak.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, 'tak') == -1
" Vim syntax file
diff --git a/syntax/tap.vim b/syntax/tap.vim
index 6c7bed65..ff491f39 100644
--- a/syntax/tap.vim
+++ b/syntax/tap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tap.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, 'perl') == -1
" Vim syntax file
diff --git a/syntax/taskdata.vim b/syntax/taskdata.vim
index de964897..e0b18445 100644
--- a/syntax/taskdata.vim
+++ b/syntax/taskdata.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/taskdata.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, 'taskdata') == -1
" Vim syntax file
diff --git a/syntax/taskedit.vim b/syntax/taskedit.vim
index 96f4a050..d3674f90 100644
--- a/syntax/taskedit.vim
+++ b/syntax/taskedit.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/taskedit.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, 'taskedit') == -1
" Vim syntax file
diff --git a/syntax/tcl.vim b/syntax/tcl.vim
index 6946bcc7..f03c1347 100644
--- a/syntax/tcl.vim
+++ b/syntax/tcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tcl.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, 'tcl') == -1
" Vim syntax file
diff --git a/syntax/template.vim b/syntax/template.vim
index 32b8bafe..c2cd69aa 100644
--- a/syntax/template.vim
+++ b/syntax/template.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/template.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, 'template') == -1
" Vim syntax file
diff --git a/syntax/teraterm.vim b/syntax/teraterm.vim
index bfa0d3a8..db59b231 100644
--- a/syntax/teraterm.vim
+++ b/syntax/teraterm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/teraterm.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, 'teraterm') == -1
" Vim syntax file
diff --git a/syntax/terminfo.vim b/syntax/terminfo.vim
index 45ae5126..2251ff6e 100644
--- a/syntax/terminfo.vim
+++ b/syntax/terminfo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/terminfo.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, 'terminfo') == -1
" Vim syntax file
diff --git a/syntax/terraform.vim b/syntax/terraform.vim
index 8854c0ba..2339c23f 100644
--- a/syntax/terraform.vim
+++ b/syntax/terraform.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Forked from Larry Gilbert's syntax file
diff --git a/syntax/tex.vim b/syntax/tex.vim
index a48c454a..ecbc66f7 100644
--- a/syntax/tex.vim
+++ b/syntax/tex.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tex.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, 'tex') == -1
" Vim syntax file
diff --git a/syntax/texinfo.vim b/syntax/texinfo.vim
index f97713f4..be333cd2 100644
--- a/syntax/texinfo.vim
+++ b/syntax/texinfo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/texinfo.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, 'texinfo') == -1
" Vim syntax file
diff --git a/syntax/texmf.vim b/syntax/texmf.vim
index e6da43cb..f55de21c 100644
--- a/syntax/texmf.vim
+++ b/syntax/texmf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/texmf.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, 'texmf') == -1
" Vim syntax file
diff --git a/syntax/textile.vim b/syntax/textile.vim
index 35126931..e5ccc7ae 100644
--- a/syntax/textile.vim
+++ b/syntax/textile.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/textile.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, 'textile') == -1
"
diff --git a/syntax/tf.vim b/syntax/tf.vim
index bad76201..0bc23785 100644
--- a/syntax/tf.vim
+++ b/syntax/tf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tf.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, 'tf') == -1
" Vim syntax file
diff --git a/syntax/thrift.vim b/syntax/thrift.vim
index 806845a6..aaa546a4 100644
--- a/syntax/thrift.vim
+++ b/syntax/thrift.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/thrift.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, 'thrift') == -1
" Vim syntax file
diff --git a/syntax/tidy.vim b/syntax/tidy.vim
index 46e12bba..2ace1fc0 100644
--- a/syntax/tidy.vim
+++ b/syntax/tidy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tidy.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, 'tidy') == -1
" Vim syntax file
diff --git a/syntax/tilde.vim b/syntax/tilde.vim
index f31c7cdf..d67f89ea 100644
--- a/syntax/tilde.vim
+++ b/syntax/tilde.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tilde.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, 'tilde') == -1
" Vim syntax file
diff --git a/syntax/tli.vim b/syntax/tli.vim
index bbb5b4eb..87b85fd4 100644
--- a/syntax/tli.vim
+++ b/syntax/tli.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tli.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, 'tli') == -1
" Vim syntax file
diff --git a/syntax/tmux.vim b/syntax/tmux.vim
index d1cf1301..f992751f 100644
--- a/syntax/tmux.vim
+++ b/syntax/tmux.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tmux.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, 'tmux') == -1
" Language: tmux(1) configuration file
diff --git a/syntax/toml.vim b/syntax/toml.vim
index 4838b0d9..43c6e87e 100644
--- a/syntax/toml.vim
+++ b/syntax/toml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/toml.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, 'toml') == -1
" Language: TOML
diff --git a/syntax/tpp.vim b/syntax/tpp.vim
index d9f280fd..7057879f 100644
--- a/syntax/tpp.vim
+++ b/syntax/tpp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tpp.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, 'tpp') == -1
" Vim syntax file
diff --git a/syntax/tptp.vim b/syntax/tptp.vim
index f31b278d..7c29b43f 100644
--- a/syntax/tptp.vim
+++ b/syntax/tptp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tptp.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, 'tptp') == -1
" Vim syntax file
diff --git a/syntax/trasys.vim b/syntax/trasys.vim
index 44abf3c4..bd521439 100644
--- a/syntax/trasys.vim
+++ b/syntax/trasys.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/trasys.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, 'trasys') == -1
" Vim syntax file
diff --git a/syntax/treetop.vim b/syntax/treetop.vim
index 46103dc6..53cf7718 100644
--- a/syntax/treetop.vim
+++ b/syntax/treetop.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/treetop.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, 'treetop') == -1
" Vim syntax file
diff --git a/syntax/trustees.vim b/syntax/trustees.vim
index d2ff0ab0..7a29a667 100644
--- a/syntax/trustees.vim
+++ b/syntax/trustees.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/trustees.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, 'trustees') == -1
" Vim syntax file
diff --git a/syntax/tsalt.vim b/syntax/tsalt.vim
index e0a4ade1..733f1683 100644
--- a/syntax/tsalt.vim
+++ b/syntax/tsalt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tsalt.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, 'tsalt') == -1
" Vim syntax file
diff --git a/syntax/tsscl.vim b/syntax/tsscl.vim
index ef5415b4..a20488be 100644
--- a/syntax/tsscl.vim
+++ b/syntax/tsscl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tsscl.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, 'tsscl') == -1
" Vim syntax file
diff --git a/syntax/tssgm.vim b/syntax/tssgm.vim
index 07a84ec3..f96c71cb 100644
--- a/syntax/tssgm.vim
+++ b/syntax/tssgm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tssgm.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, 'tssgm') == -1
" Vim syntax file
diff --git a/syntax/tssop.vim b/syntax/tssop.vim
index 89c6c893..175a12eb 100644
--- a/syntax/tssop.vim
+++ b/syntax/tssop.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tssop.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, 'tssop') == -1
" Vim syntax file
diff --git a/syntax/tt2.vim b/syntax/tt2.vim
index 426d32a3..24cd9c66 100644
--- a/syntax/tt2.vim
+++ b/syntax/tt2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tt2.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, 'perl') == -1
" Language: TT2 (Perl Template Toolkit)
diff --git a/syntax/tt2html.vim b/syntax/tt2html.vim
index 728819a5..6ab61082 100644
--- a/syntax/tt2html.vim
+++ b/syntax/tt2html.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tt2html.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, 'perl') == -1
" Language: TT2 embedded with HTML
diff --git a/syntax/tt2js.vim b/syntax/tt2js.vim
index d576ac05..77110ff9 100644
--- a/syntax/tt2js.vim
+++ b/syntax/tt2js.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/tt2js.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, 'perl') == -1
" Language: TT2 embedded with Javascript
diff --git a/syntax/twig.vim b/syntax/twig.vim
index e3e67b5d..73e3ace8 100644
--- a/syntax/twig.vim
+++ b/syntax/twig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/twig.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, 'twig') == -1
" Vim syntax file
diff --git a/syntax/typescript.vim b/syntax/typescript.vim
index 8a56e183..e6a3e414 100644
--- a/syntax/typescript.vim
+++ b/syntax/typescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/typescript.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, 'typescript') == -1
" Vim syntax file
diff --git a/syntax/typescriptreact.vim b/syntax/typescriptreact.vim
index 7d55769b..1eca36b3 100644
--- a/syntax/typescriptreact.vim
+++ b/syntax/typescriptreact.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/typescriptreact.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, 'typescript') == -1
if !exists("main_syntax")
diff --git a/syntax/uc.vim b/syntax/uc.vim
index 20c3ea80..912e4e25 100644
--- a/syntax/uc.vim
+++ b/syntax/uc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/uc.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, 'uc') == -1
" Vim syntax file
diff --git a/syntax/udevconf.vim b/syntax/udevconf.vim
index b2d12123..077cfe88 100644
--- a/syntax/udevconf.vim
+++ b/syntax/udevconf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/udevconf.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, 'udevconf') == -1
" Vim syntax file
diff --git a/syntax/udevperm.vim b/syntax/udevperm.vim
index d47f34c1..ee52607f 100644
--- a/syntax/udevperm.vim
+++ b/syntax/udevperm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/udevperm.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, 'udevperm') == -1
" Vim syntax file
diff --git a/syntax/uil.vim b/syntax/uil.vim
index 81d83443..72569b54 100644
--- a/syntax/uil.vim
+++ b/syntax/uil.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/uil.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, 'uil') == -1
" Vim syntax file
diff --git a/syntax/unison.vim b/syntax/unison.vim
index 2578add8..7774a64c 100644
--- a/syntax/unison.vim
+++ b/syntax/unison.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/unison.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, 'unison') == -1
" Vim syntax file, adapted from Haskell file by John Williams <jrw@pobox.com>
diff --git a/syntax/updatedb.vim b/syntax/updatedb.vim
index d4479902..f1cb406b 100644
--- a/syntax/updatedb.vim
+++ b/syntax/updatedb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/updatedb.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, 'updatedb') == -1
" Vim syntax file
diff --git a/syntax/upstart.vim b/syntax/upstart.vim
index 2295ad54..ca1c1275 100644
--- a/syntax/upstart.vim
+++ b/syntax/upstart.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/upstart.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, 'upstart') == -1
" Vim syntax file
diff --git a/syntax/upstreamdat.vim b/syntax/upstreamdat.vim
index 0ae0db3a..0f3b60a2 100644
--- a/syntax/upstreamdat.vim
+++ b/syntax/upstreamdat.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/upstreamdat.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, 'upstreamdat') == -1
" Vim syntax file
diff --git a/syntax/upstreaminstalllog.vim b/syntax/upstreaminstalllog.vim
index b4e76083..7e7cf248 100644
--- a/syntax/upstreaminstalllog.vim
+++ b/syntax/upstreaminstalllog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/upstreaminstalllog.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, 'upstreaminstalllog') == -1
" Vim syntax file
diff --git a/syntax/upstreamlog.vim b/syntax/upstreamlog.vim
index 8e50a9e6..0b0e9f26 100644
--- a/syntax/upstreamlog.vim
+++ b/syntax/upstreamlog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/upstreamlog.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, 'upstreamlog') == -1
" Vim syntax file
diff --git a/syntax/usserverlog.vim b/syntax/usserverlog.vim
index c891affa..0711c54f 100644
--- a/syntax/usserverlog.vim
+++ b/syntax/usserverlog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/usserverlog.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, 'usserverlog') == -1
" Vim syntax file
diff --git a/syntax/usw2kagtlog.vim b/syntax/usw2kagtlog.vim
index 8b3ee48b..53d2a08a 100644
--- a/syntax/usw2kagtlog.vim
+++ b/syntax/usw2kagtlog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/usw2kagtlog.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, 'usw2kagtlog') == -1
" Vim syntax file
diff --git a/syntax/vala.vim b/syntax/vala.vim
index 1cf68e0a..5854fdc9 100644
--- a/syntax/vala.vim
+++ b/syntax/vala.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vala.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, 'vala') == -1
" Vim syntax file
diff --git a/syntax/vb.vim b/syntax/vb.vim
index 04e171ca..86906666 100644
--- a/syntax/vb.vim
+++ b/syntax/vb.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vb.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, 'visual-basic') == -1
" Vim syntax file
diff --git a/syntax/vbnet.vim b/syntax/vbnet.vim
index 0550ca03..695349cc 100644
--- a/syntax/vbnet.vim
+++ b/syntax/vbnet.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vbnet.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, 'vbnet') == -1
" Vim syntax file
diff --git a/syntax/vcl.vim b/syntax/vcl.vim
index e315fbf1..92bc17c3 100644
--- a/syntax/vcl.vim
+++ b/syntax/vcl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vcl.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, 'vcl') == -1
" Vim syntax file
diff --git a/syntax/velocity.vim b/syntax/velocity.vim
index d044f914..bf855de6 100644
--- a/syntax/velocity.vim
+++ b/syntax/velocity.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/velocity.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, 'velocity') == -1
" Vim syntax file
diff --git a/syntax/vera.vim b/syntax/vera.vim
index 8213de17..4238909c 100644
--- a/syntax/vera.vim
+++ b/syntax/vera.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vera.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, 'vera') == -1
" Vim syntax file
diff --git a/syntax/verilog.vim b/syntax/verilog.vim
index cc00a76a..d7d27f79 100644
--- a/syntax/verilog.vim
+++ b/syntax/verilog.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/verilog.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, 'verilog') == -1
" Vim syntax file
diff --git a/syntax/verilogams.vim b/syntax/verilogams.vim
index bc65b305..100ae92b 100644
--- a/syntax/verilogams.vim
+++ b/syntax/verilogams.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/verilogams.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, 'verilogams') == -1
" Vim syntax file
diff --git a/syntax/vgrindefs.vim b/syntax/vgrindefs.vim
index 7f6a4642..a6f6e86a 100644
--- a/syntax/vgrindefs.vim
+++ b/syntax/vgrindefs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vgrindefs.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, 'vgrindefs') == -1
" Vim syntax file
diff --git a/syntax/vhdl.vim b/syntax/vhdl.vim
index f29ecc1a..75771c6f 100644
--- a/syntax/vhdl.vim
+++ b/syntax/vhdl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vhdl.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, 'vhdl') == -1
" Vim syntax file
diff --git a/syntax/vimgo.vim b/syntax/vimgo.vim
index f33b5b1b..f0b6fe42 100644
--- a/syntax/vimgo.vim
+++ b/syntax/vimgo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vimgo.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
if exists("b:current_syntax")
diff --git a/syntax/viminfo.vim b/syntax/viminfo.vim
index ca37f9e5..589398c4 100644
--- a/syntax/viminfo.vim
+++ b/syntax/viminfo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/viminfo.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, 'viminfo') == -1
" Vim syntax file
diff --git a/syntax/vlang.vim b/syntax/vlang.vim
index 883de7d3..12f5e276 100644
--- a/syntax/vlang.vim
+++ b/syntax/vlang.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vlang.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, 'v') == -1
" Vim syntax file
diff --git a/syntax/vmasm.vim b/syntax/vmasm.vim
index 2581e88c..034a4b19 100644
--- a/syntax/vmasm.vim
+++ b/syntax/vmasm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vmasm.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, 'vmasm') == -1
" Vim syntax file
diff --git a/syntax/voscm.vim b/syntax/voscm.vim
index cd883f6f..24b43904 100644
--- a/syntax/voscm.vim
+++ b/syntax/voscm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/voscm.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, 'voscm') == -1
" Vim syntax file
diff --git a/syntax/vrml.vim b/syntax/vrml.vim
index 0ee66705..02fca957 100644
--- a/syntax/vrml.vim
+++ b/syntax/vrml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vrml.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, 'vrml') == -1
" Vim syntax file
diff --git a/syntax/vroom.vim b/syntax/vroom.vim
index 6d0a4849..00bf151f 100644
--- a/syntax/vroom.vim
+++ b/syntax/vroom.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vroom.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, 'vroom') == -1
" Vim syntax file
diff --git a/syntax/vue.vim b/syntax/vue.vim
index 1e039a5f..d516f409 100644
--- a/syntax/vue.vim
+++ b/syntax/vue.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/vue.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, 'vue') == -1
" Vim syntax file
diff --git a/syntax/wast.vim b/syntax/wast.vim
index d0b81718..d47d344d 100644
--- a/syntax/wast.vim
+++ b/syntax/wast.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/wast.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, 'wast') == -1
" Vim syntax file
diff --git a/syntax/webmacro.vim b/syntax/webmacro.vim
index a5986b2e..3e9add54 100644
--- a/syntax/webmacro.vim
+++ b/syntax/webmacro.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/webmacro.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, 'webmacro') == -1
" WebMacro syntax file
diff --git a/syntax/wget.vim b/syntax/wget.vim
index 62fafb2a..e81980e0 100644
--- a/syntax/wget.vim
+++ b/syntax/wget.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/wget.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, 'wget') == -1
" Vim syntax file
diff --git a/syntax/winbatch.vim b/syntax/winbatch.vim
index d2494c8c..3c7ad59b 100644
--- a/syntax/winbatch.vim
+++ b/syntax/winbatch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/winbatch.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, 'winbatch') == -1
" Vim syntax file
diff --git a/syntax/wml.vim b/syntax/wml.vim
index 9ded9e19..be4b620a 100644
--- a/syntax/wml.vim
+++ b/syntax/wml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/wml.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, 'wml') == -1
" Vim syntax file
diff --git a/syntax/wsh.vim b/syntax/wsh.vim
index d18c715d..bd132b3c 100644
--- a/syntax/wsh.vim
+++ b/syntax/wsh.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/wsh.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, 'wsh') == -1
" Vim syntax file
diff --git a/syntax/wsml.vim b/syntax/wsml.vim
index f3a58349..ef8c3623 100644
--- a/syntax/wsml.vim
+++ b/syntax/wsml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/wsml.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, 'wsml') == -1
" Vim syntax file
diff --git a/syntax/wvdial.vim b/syntax/wvdial.vim
index 560060d2..d9a47e26 100644
--- a/syntax/wvdial.vim
+++ b/syntax/wvdial.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/wvdial.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, 'wvdial') == -1
" Vim syntax file
diff --git a/syntax/xdc.vim b/syntax/xdc.vim
index 4d583cd5..8a768440 100644
--- a/syntax/xdc.vim
+++ b/syntax/xdc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xdc.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, 'xdc') == -1
" Vim syntax file
diff --git a/syntax/xdefaults.vim b/syntax/xdefaults.vim
index 704c24b1..78c7b8a8 100644
--- a/syntax/xdefaults.vim
+++ b/syntax/xdefaults.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xdefaults.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, 'xdefaults') == -1
" Vim syntax file
diff --git a/syntax/xf86conf.vim b/syntax/xf86conf.vim
index 1c295057..90af49cb 100644
--- a/syntax/xf86conf.vim
+++ b/syntax/xf86conf.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xf86conf.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, 'xf86conf') == -1
" Vim syntax file
diff --git a/syntax/xhtml.vim b/syntax/xhtml.vim
index b1beead4..c58dc3c8 100644
--- a/syntax/xhtml.vim
+++ b/syntax/xhtml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xhtml.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, 'xhtml') == -1
" Vim syntax file
diff --git a/syntax/xinetd.vim b/syntax/xinetd.vim
index 2a59f43c..c9ff0fc0 100644
--- a/syntax/xinetd.vim
+++ b/syntax/xinetd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xinetd.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, 'xinetd') == -1
" Vim syntax file
diff --git a/syntax/xmath.vim b/syntax/xmath.vim
index 5824eddc..068a279b 100644
--- a/syntax/xmath.vim
+++ b/syntax/xmath.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xmath.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, 'xmath') == -1
" Vim syntax file
diff --git a/syntax/xml.vim b/syntax/xml.vim
index 7b1e6ce7..724f3cc6 100644
--- a/syntax/xml.vim
+++ b/syntax/xml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xml.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, 'xml') == -1
" Vim syntax file
diff --git a/syntax/xmodmap.vim b/syntax/xmodmap.vim
index b0de8309..96fc0189 100644
--- a/syntax/xmodmap.vim
+++ b/syntax/xmodmap.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xmodmap.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, 'xmodmap') == -1
" Vim syntax file
diff --git a/syntax/xpm.vim b/syntax/xpm.vim
index 7e741cad..96289c11 100644
--- a/syntax/xpm.vim
+++ b/syntax/xpm.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xpm.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, 'xpm') == -1
" Vim syntax file
diff --git a/syntax/xpm2.vim b/syntax/xpm2.vim
index b1eebba9..333d8b62 100644
--- a/syntax/xpm2.vim
+++ b/syntax/xpm2.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xpm2.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, 'xpm2') == -1
" Vim syntax file
diff --git a/syntax/xquery.vim b/syntax/xquery.vim
index 8a154a95..b71b4c4e 100644
--- a/syntax/xquery.vim
+++ b/syntax/xquery.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xquery.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, 'xquery') == -1
" Vim syntax file
diff --git a/syntax/xs.vim b/syntax/xs.vim
index da78f6b4..80d559a5 100644
--- a/syntax/xs.vim
+++ b/syntax/xs.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xs.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, 'perl') == -1
" Vim syntax file
diff --git a/syntax/xsd.vim b/syntax/xsd.vim
index aa635889..325486cf 100644
--- a/syntax/xsd.vim
+++ b/syntax/xsd.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/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
" Vim syntax file
diff --git a/syntax/xsl.vim b/syntax/xsl.vim
index c24d978c..0a5d5cc8 100644
--- a/syntax/xsl.vim
+++ b/syntax/xsl.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xsl.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, 'xsl') == -1
" Vim syntax file
diff --git a/syntax/xslt.vim b/syntax/xslt.vim
index 6efd3738..2db1f3ea 100644
--- a/syntax/xslt.vim
+++ b/syntax/xslt.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/xslt.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, 'xslt') == -1
" Vim syntax file
diff --git a/syntax/yacc.vim b/syntax/yacc.vim
index 01992fad..e687bb41 100644
--- a/syntax/yacc.vim
+++ b/syntax/yacc.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yacc.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, 'yacc') == -1
" Vim syntax file
diff --git a/syntax/yaml.vim b/syntax/yaml.vim
index 53e60684..a0fa5b9d 100644
--- a/syntax/yaml.vim
+++ b/syntax/yaml.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yaml.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, 'yaml') == -1
" Vim syntax file
diff --git a/syntax/yats.vim b/syntax/yats.vim
index bb98581e..b3e95b05 100644
--- a/syntax/yats.vim
+++ b/syntax/yats.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats.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, 'typescript') == -1
runtime syntax/yats/typescript.vim
diff --git a/syntax/yats/css.vim b/syntax/yats/css.vim
index 219fc93f..c4f3ae6e 100644
--- a/syntax/yats/css.vim
+++ b/syntax/yats/css.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/css.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, 'typescript') == -1
syntax keyword typescriptDOMStyle contained alignContent alignItems alignSelf animation
diff --git a/syntax/yats/dom-document.vim b/syntax/yats/dom-document.vim
index 2dfea5ec..3d6d9762 100644
--- a/syntax/yats/dom-document.vim
+++ b/syntax/yats/dom-document.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/dom-document.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, 'typescript') == -1
syntax keyword typescriptDOMDocProp contained activeElement body cookie defaultView
diff --git a/syntax/yats/dom-elem.vim b/syntax/yats/dom-elem.vim
index 0680b7a7..32349a33 100644
--- a/syntax/yats/dom-elem.vim
+++ b/syntax/yats/dom-elem.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/dom-elem.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, 'typescript') == -1
syntax keyword typescriptDOMElemAttrs contained accessKey clientHeight clientLeft
diff --git a/syntax/yats/dom-event.vim b/syntax/yats/dom-event.vim
index f13af726..698cd0e1 100644
--- a/syntax/yats/dom-event.vim
+++ b/syntax/yats/dom-event.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/dom-event.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, 'typescript') == -1
syntax keyword typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg
diff --git a/syntax/yats/dom-form.vim b/syntax/yats/dom-form.vim
index 222b3e15..eecd8453 100644
--- a/syntax/yats/dom-form.vim
+++ b/syntax/yats/dom-form.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/dom-form.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, 'typescript') == -1
syntax keyword typescriptDOMFormProp contained acceptCharset action elements encoding
diff --git a/syntax/yats/dom-node.vim b/syntax/yats/dom-node.vim
index d55e82e1..32e4142a 100644
--- a/syntax/yats/dom-node.vim
+++ b/syntax/yats/dom-node.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/dom-node.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, 'typescript') == -1
syntax keyword typescriptDOMNodeProp contained attributes baseURI baseURIObject childNodes
diff --git a/syntax/yats/dom-storage.vim b/syntax/yats/dom-storage.vim
index 21564a21..c34ab017 100644
--- a/syntax/yats/dom-storage.vim
+++ b/syntax/yats/dom-storage.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/dom-storage.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, 'typescript') == -1
syntax keyword typescriptDOMStorage contained sessionStorage localStorage
diff --git a/syntax/yats/ecma-402.vim b/syntax/yats/ecma-402.vim
index 2114485c..98c103c2 100644
--- a/syntax/yats/ecma-402.vim
+++ b/syntax/yats/ecma-402.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/ecma-402.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Intl
diff --git a/syntax/yats/es6-array.vim b/syntax/yats/es6-array.vim
index cc6ba71f..2b658f25 100644
--- a/syntax/yats/es6-array.vim
+++ b/syntax/yats/es6-array.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-array.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Array nextgroup=typescriptGlobalArrayDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-date.vim b/syntax/yats/es6-date.vim
index ea2653cd..cd91fa53 100644
--- a/syntax/yats/es6-date.vim
+++ b/syntax/yats/es6-date.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-date.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Date nextgroup=typescriptGlobalDateDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-function.vim b/syntax/yats/es6-function.vim
index 0ff39379..14c137ae 100644
--- a/syntax/yats/es6-function.vim
+++ b/syntax/yats/es6-function.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-function.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function
diff --git a/syntax/yats/es6-json.vim b/syntax/yats/es6-json.vim
index 682e8f06..b01a878d 100644
--- a/syntax/yats/es6-json.vim
+++ b/syntax/yats/es6-json.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName JSON nextgroup=typescriptGlobalJSONDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-map.vim b/syntax/yats/es6-map.vim
index 247d1112..ec618928 100644
--- a/syntax/yats/es6-map.vim
+++ b/syntax/yats/es6-map.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-map.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Map WeakMap
diff --git a/syntax/yats/es6-math.vim b/syntax/yats/es6-math.vim
index 03460ec1..fd86a190 100644
--- a/syntax/yats/es6-math.vim
+++ b/syntax/yats/es6-math.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-math.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Math nextgroup=typescriptGlobalMathDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-number.vim b/syntax/yats/es6-number.vim
index 109e29d3..a090e49b 100644
--- a/syntax/yats/es6-number.vim
+++ b/syntax/yats/es6-number.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-number.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Number nextgroup=typescriptGlobalNumberDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-object.vim b/syntax/yats/es6-object.vim
index 3043542d..55c6f943 100644
--- a/syntax/yats/es6-object.vim
+++ b/syntax/yats/es6-object.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-object.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Object nextgroup=typescriptGlobalObjectDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-promise.vim b/syntax/yats/es6-promise.vim
index 46851ed9..6c1b4e8a 100644
--- a/syntax/yats/es6-promise.vim
+++ b/syntax/yats/es6-promise.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-promise.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Promise nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-proxy.vim b/syntax/yats/es6-proxy.vim
index 9bbd9b66..9451dbe5 100644
--- a/syntax/yats/es6-proxy.vim
+++ b/syntax/yats/es6-proxy.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-proxy.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Proxy
diff --git a/syntax/yats/es6-reflect.vim b/syntax/yats/es6-reflect.vim
index 2f3f6ead..6e3de79e 100644
--- a/syntax/yats/es6-reflect.vim
+++ b/syntax/yats/es6-reflect.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-reflect.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect
diff --git a/syntax/yats/es6-regexp.vim b/syntax/yats/es6-regexp.vim
index 9a16ba82..a6c50632 100644
--- a/syntax/yats/es6-regexp.vim
+++ b/syntax/yats/es6-regexp.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-regexp.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName RegExp nextgroup=typescriptGlobalRegExpDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-set.vim b/syntax/yats/es6-set.vim
index 56048f3e..024743bc 100644
--- a/syntax/yats/es6-set.vim
+++ b/syntax/yats/es6-set.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-set.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Set WeakSet
diff --git a/syntax/yats/es6-string.vim b/syntax/yats/es6-string.vim
index d7275a1d..f4ef7f36 100644
--- a/syntax/yats/es6-string.vim
+++ b/syntax/yats/es6-string.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName String nextgroup=typescriptGlobalStringDot,typescriptFuncCallArg
diff --git a/syntax/yats/es6-symbol.vim b/syntax/yats/es6-symbol.vim
index 51b2621e..2cfb65dd 100644
--- a/syntax/yats/es6-symbol.vim
+++ b/syntax/yats/es6-symbol.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/es6-symbol.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Symbol nextgroup=typescriptGlobalSymbolDot,typescriptFuncCallArg
diff --git a/syntax/yats/event.vim b/syntax/yats/event.vim
index 36a22683..31d0eab2 100644
--- a/syntax/yats/event.vim
+++ b/syntax/yats/event.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/event.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, 'typescript') == -1
syntax keyword typescriptAnimationEvent contained animationend animationiteration
diff --git a/syntax/yats/node.vim b/syntax/yats/node.vim
index 25b4e26f..e8bc4b8b 100644
--- a/syntax/yats/node.vim
+++ b/syntax/yats/node.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/node.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, 'typescript') == -1
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName global process
diff --git a/syntax/yats/test.vim b/syntax/yats/test.vim
index 7a68aa7f..a8fe7881 100644
--- a/syntax/yats/test.vim
+++ b/syntax/yats/test.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/test.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, 'typescript') == -1
syntax keyword typescriptTestGlobal containedin=typescriptIdentifierName describe
diff --git a/syntax/yats/typescript.vim b/syntax/yats/typescript.vim
index df99073e..9d91a1ce 100644
--- a/syntax/yats/typescript.vim
+++ b/syntax/yats/typescript.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/typescript.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean
diff --git a/syntax/yats/web-blob.vim b/syntax/yats/web-blob.vim
index 7badb6da..fedb2417 100644
--- a/syntax/yats/web-blob.vim
+++ b/syntax/yats/web-blob.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-blob.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Blob BlobBuilder
diff --git a/syntax/yats/web-console.vim b/syntax/yats/web-console.vim
index f3e7c73a..d8b1ded4 100644
--- a/syntax/yats/web-console.vim
+++ b/syntax/yats/web-console.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-console.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName console
diff --git a/syntax/yats/web-crypto.vim b/syntax/yats/web-crypto.vim
index 4a9442c3..91033242 100644
--- a/syntax/yats/web-crypto.vim
+++ b/syntax/yats/web-crypto.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-crypto.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, 'typescript') == -1
syntax keyword typescriptCryptoGlobal containedin=typescriptIdentifierName crypto
diff --git a/syntax/yats/web-encoding.vim b/syntax/yats/web-encoding.vim
index 077eaf9e..8188b7e1 100644
--- a/syntax/yats/web-encoding.vim
+++ b/syntax/yats/web-encoding.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-encoding.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, 'typescript') == -1
syntax keyword typescriptEncodingGlobal containedin=typescriptIdentifierName TextEncoder
diff --git a/syntax/yats/web-fetch.vim b/syntax/yats/web-fetch.vim
index 9fd87e45..3c9019b6 100644
--- a/syntax/yats/web-fetch.vim
+++ b/syntax/yats/web-fetch.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-fetch.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Headers Request
diff --git a/syntax/yats/web-geo.vim b/syntax/yats/web-geo.vim
index c439be29..b9b3447d 100644
--- a/syntax/yats/web-geo.vim
+++ b/syntax/yats/web-geo.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-geo.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Geolocation
diff --git a/syntax/yats/web-history.vim b/syntax/yats/web-history.vim
index 99cc5ccc..d170d37d 100644
--- a/syntax/yats/web-history.vim
+++ b/syntax/yats/web-history.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-history.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, 'typescript') == -1
syntax keyword typescriptBOMHistoryProp contained length current next previous state
diff --git a/syntax/yats/web-location.vim b/syntax/yats/web-location.vim
index 65f8869d..0d92f7bd 100644
--- a/syntax/yats/web-location.vim
+++ b/syntax/yats/web-location.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-location.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, 'typescript') == -1
syntax keyword typescriptBOMLocationProp contained href protocol host hostname port
diff --git a/syntax/yats/web-navigator.vim b/syntax/yats/web-navigator.vim
index 48fe9f7d..2a408b0f 100644
--- a/syntax/yats/web-navigator.vim
+++ b/syntax/yats/web-navigator.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-navigator.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, 'typescript') == -1
syntax keyword typescriptBOMNavigatorProp contained battery buildID connection cookieEnabled
diff --git a/syntax/yats/web-network.vim b/syntax/yats/web-network.vim
index d717da5c..71cd6fca 100644
--- a/syntax/yats/web-network.vim
+++ b/syntax/yats/web-network.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-network.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName NetworkInformation
diff --git a/syntax/yats/web-payment.vim b/syntax/yats/web-payment.vim
index 74805967..2154a14a 100644
--- a/syntax/yats/web-payment.vim
+++ b/syntax/yats/web-payment.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-payment.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, 'typescript') == -1
syntax keyword typescriptGlobal containedin=typescriptIdentifierName PaymentRequest
diff --git a/syntax/yats/web-service-worker.vim b/syntax/yats/web-service-worker.vim
index a44950fb..9f497472 100644
--- a/syntax/yats/web-service-worker.vim
+++ b/syntax/yats/web-service-worker.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-service-worker.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, 'typescript') == -1
syntax keyword typescriptServiceWorkerProp contained controller ready
diff --git a/syntax/yats/web-window.vim b/syntax/yats/web-window.vim
index eb6257fb..04d57e98 100644
--- a/syntax/yats/web-window.vim
+++ b/syntax/yats/web-window.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-window.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, 'typescript') == -1
syntax keyword typescriptBOMWindowProp containedin=typescriptIdentifierName applicationCache
diff --git a/syntax/yats/web-xhr.vim b/syntax/yats/web-xhr.vim
index b8a8f56e..e88b6456 100644
--- a/syntax/yats/web-xhr.vim
+++ b/syntax/yats/web-xhr.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web-xhr.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, 'typescript') == -1
syntax keyword typescriptXHRGlobal containedin=typescriptIdentifierName XMLHttpRequest
diff --git a/syntax/yats/web.vim b/syntax/yats/web.vim
index 37bf5559..4b4c1bdd 100644
--- a/syntax/yats/web.vim
+++ b/syntax/yats/web.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/yats/web.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, 'typescript') == -1
syntax keyword typescriptBOM containedin=typescriptIdentifierName AbortController
diff --git a/syntax/z8a.vim b/syntax/z8a.vim
index b2229bf7..fb4fa81e 100644
--- a/syntax/z8a.vim
+++ b/syntax/z8a.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/z8a.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, 'z8a') == -1
" Vim syntax file
diff --git a/syntax/zephir.vim b/syntax/zephir.vim
index 08125056..a6fcd453 100644
--- a/syntax/zephir.vim
+++ b/syntax/zephir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/zephir.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, 'zephir') == -1
" Copyright 2009 The Go Authors. All rights reserved.
diff --git a/syntax/zig.vim b/syntax/zig.vim
index 95d52381..380e4bae 100644
--- a/syntax/zig.vim
+++ b/syntax/zig.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/zig.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
" Vim syntax file
diff --git a/syntax/zimbu.vim b/syntax/zimbu.vim
index 388e0206..ed523e5d 100644
--- a/syntax/zimbu.vim
+++ b/syntax/zimbu.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/zimbu.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, 'zimbu') == -1
" Vim syntax file
diff --git a/syntax/zir.vim b/syntax/zir.vim
index 906e892e..ff3fc96d 100644
--- a/syntax/zir.vim
+++ b/syntax/zir.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/zir.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
" Vim syntax file
diff --git a/syntax/zsh.vim b/syntax/zsh.vim
index 96a70e2f..c8ccd47b 100644
--- a/syntax/zsh.vim
+++ b/syntax/zsh.vim
@@ -1,3 +1,8 @@
+let files = filter(globpath(&rtp, 'syntax/zsh.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, 'sh') == -1
" Shebang