5.2 KiB
5.2 KiB
vim-polyglot
A collection of language packs for Vim.
One to rule them all, one to find them, one to bring them all and in the darkness bind them.
- It won't affect your startup time, as scripts are loaded only on demand*.
- It installs 40x faster (unparallelized), as language packs are not submoduled, but merged.
- It clones even faster as all unnecessary files are ignored (like enormous documentation from php support).
- Best syntax and indentation support. If someone releases better language pack, it will be replaced here.
- No support for esoteric languages (vim-polyglot supports modern ones like
slim
though). - Each build is tested by automated Travis CI setup using vimrunner gem. Spee
spec
directory.
*To be completely honest, concatenated ftdetect
script takes around 3ms
to load.
Installation
- Install pathogen, Vundle or NeoBundle package manager.
- Use this repository as submodule or package.
Optionally download one of the releases and unpack it directly under ~/.vim
directory.
Language packs
- arduino (syntax, ftdetect)
- c++11 (syntax)
- c/c++ (syntax)
- clojure (syntax, indent, autoload, ftplugin, ftdetect)
- coffee-script (syntax, indent, compiler, autoload, ftplugin, ftdetect)
- css-color (syntax)
- csv (syntax, ftplugin, ftdetect)
- cucumber (syntax, indent, compiler, ftplugin, ftdetect)
- dockerfile (syntax, ftdetect)
- elixir (syntax, indent, compiler, ftplugin, ftdetect)
- erlang (syntax, indent, compiler, autoload, ftplugin)
- git (syntax, indent, ftplugin, ftdetect)
- go (syntax, indent, autoload, ftplugin, ftdetect)
- haml (syntax, indent, compiler, ftplugin, ftdetect)
- handlebars (syntax, ftplugin, ftdetect)
- haskell (syntax, indent, ftplugin)
- html5 (syntax, indent, autoload)
- jade (syntax, indent, ftplugin, ftdetect)
- javascript (syntax, indent, ftdetect)
- json (syntax, ftdetect)
- jst (syntax, indent, ftdetect)
- latex (syntax, indent, ftplugin)
- less (syntax, indent, ftplugin, ftdetect)
- markdown (syntax, ftplugin, ftdetect)
- nginx (syntax, ftdetect)
- ocaml (syntax, indent, ftplugin)
- octave (syntax)
- perl (syntax, indent, ftplugin)
- php (syntax)
- puppet (syntax, indent, ftplugin, ftdetect)
- protobuf (syntax, ftdetect)
- python (syntax)
- r-lang (syntax, ftplugin)
- rspec (syntax, ftdetect)
- ruby (syntax, indent, compiler, autoload, ftplugin, ftdetect)
- rust (syntax, indent, compiler, ftplugin, ftdetect)
- sbt (syntax, ftdetect)
- scala (syntax, indent, ftplugin, ftdetect)
- slim (syntax, indent, ftdetect)
- stylus (syntax, indent, ftplugin, ftdetect)
- textile (syntax, ftplugin, ftdetect)
- tmux (syntax, ftdetect)
- tomdoc (syntax)
- typescript (syntax, compiler, ftplugin, ftdetect)
- vbnet (syntax)
- twig (syntax, ftplugin, ftdetect)
- xls (syntax)
Contributing
Language packs are periodically updated using automated build
script.
Feel free to add your language, and send pull-request.
License
See linked repositories for detailed license information.