Go to file
2015-10-10 17:25:38 +02:00
after Add glsl and kotlin languages, fixes #72, #71 2015-10-10 17:15:29 +02:00
autoload Remove css-color as it seems to make performance bad, closes #62 2015-07-18 23:27:31 +02:00
compiler Allow for disabling individual languages, closes #66 2015-07-18 23:05:45 +02:00
ftdetect Add qml support, closes #69 2015-10-10 17:25:38 +02:00
ftplugin Add qml support, closes #69 2015-10-10 17:25:38 +02:00
indent Add qml support, closes #69 2015-10-10 17:25:38 +02:00
spec Allow for reusing vim server locally (testing) 2013-12-27 16:44:34 +01:00
syntax Add qml support, closes #69 2015-10-10 17:25:38 +02:00
.gitattributes Do not ignore build script (can be useful for auto-updating) 2015-07-18 21:30:45 +02:00
.gitignore Add first version of build script 2013-09-12 15:50:45 +02:00
.travis.yml Enable verbose testing 2013-12-26 23:13:05 +01:00
build Add qml support, closes #69 2015-10-10 17:25:38 +02:00
Gemfile Move specs location one level down 2013-09-14 20:20:59 +02:00
Gemfile.lock Move specs location one level down 2013-09-14 20:20:59 +02:00
plugin_guard.vim.template Allow disabling individual language packs 2015-07-18 23:04:34 +02:00
README.md Add qml support, closes #69 2015-10-10 17:25:38 +02:00

vim-polyglot Build Status

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 50+ times faster than 50+ packages it consist of.
  • Solid syntax and indentation support. Only the best language packs.
  • All unnecessary files are ignored (like enormous documentation from php support).
  • No support for esoteric languages, only most popular ones (modern too, like slim).
  • Each build is tested by automated vimrunner script on CI. See spec directory.

*To be completely honest, concatenated ftdetect script takes around 3ms to load.

Installation

  1. Install pathogen, Vundle or NeoBundle package manager.
  2. Use this repository as submodule or package.

Optionally download one of the releases and unpack it directly under ~/.vim directory.

Language packs

  • arduino (syntax, indent, ftdetect)
  • blade (syntax, indent, ftdetect)
  • c++11 (syntax)
  • c/c++ (syntax)
  • clojure (syntax, indent, autoload, ftplugin, ftdetect)
  • coffee-script (syntax, indent, compiler, autoload, ftplugin, ftdetect)
  • cjsx (ftdetect, syntax, ftplugin)
  • css (syntax)
  • cucumber (syntax, indent, compiler, ftplugin, ftdetect)
  • dockerfile (syntax, ftdetect)
  • elixir (syntax, indent, compiler, ftplugin, ftdetect)
  • emberscript (syntax, indent, ftplugin, ftdetect)
  • emblem (syntax, indent, ftplugin, ftdetect)
  • erlang (syntax, indent)
  • git (syntax, indent, ftplugin, ftdetect)
  • glsl (syntax, indent, ftdetect)
  • go (syntax, indent, ftdetect)
  • groovy (syntax)
  • haml (syntax, indent, compiler, ftplugin, ftdetect)
  • handlebars (syntax, ftplugin, ftdetect)
  • haskell ()
  • haxe (syntax, ftdetect)
  • html5 (syntax, indent, autoload, ftplugin)
  • jade (syntax, indent, ftplugin, ftdetect)
  • jasmine (syntax, ftdetect)
  • javascript (syntax, indent)
  • julia (syntax, indent, ftdetect)
  • json (syntax, indent, ftdetect)
  • jst (syntax, indent, ftdetect)
  • jsx (after)
  • kotlin (syntax, indent, ftdetect)
  • latex (syntax, indent, ftplugin)
  • less (syntax, indent, ftplugin, ftdetect)
  • liquid (syntax, indent, ftplugin, ftdetect)
  • markdown (syntax, ftplugin, ftdetect)
  • nginx (syntax, ftdetect)
  • ocaml (syntax, indent, ftplugin)
  • octave (syntax)
  • opencl (syntax, indent, ftplugin, ftdetect)
  • perl (syntax, indent, ftplugin, ftdetect)
  • php (syntax)
  • puppet (syntax, indent, ftplugin, ftdetect)
  • powershell (syntax, indent, ftplugin, ftdetect)
  • protobuf (syntax, ftdetect)
  • python (syntax, indent)
  • qml (syntax, indent, ftplugin, ftdetect)
  • r-lang (syntax, ftplugin)
  • ragel (syntax)
  • rspec (syntax, ftdetect)
  • ruby (syntax, indent, compiler, autoload, ftplugin, ftdetect)
  • rust (syntax, indent, compiler, autoload, ftplugin, ftdetect)
  • sbt (syntax, ftdetect)
  • scala (syntax, indent, compiler, ftplugin, ftdetect)
  • slim (syntax, indent, ftdetect)
  • solidity (syntax, indent, ftdetect)
  • stylus (syntax, indent, ftplugin, ftdetect)
  • systemd (syntax, ftdetect)
  • swift (syntax, indent, ftdetect)
  • textile (syntax, ftplugin, ftdetect)
  • tmux (syntax, ftdetect)
  • tomdoc (syntax)
  • typescript (syntax, indent, compiler, ftplugin, ftdetect)
  • vbnet (syntax)
  • thrift (syntax, ftdetect)
  • toml (syntax, ftplugin, ftdetect)
  • twig (syntax, ftplugin, ftdetect)
  • xls (syntax)
  • yard (syntax)
  • vala (syntax, indent, ftdetect)
  • vm (syntax, indent, ftdetect)

Disabling a language pack

Individual language packs can be disabled by setting g:polyglot_disabled.

" ~/.vimrc
let g:polyglot_disabled = ['css']

Note that disabiling languages won't make in general your vim startup any faster / slower (only for specific file type). Vim-polyglot is selection of language plugins that are loaded only on demand.

Updating

You can either wait for new patch release with updates or run the ./build script by yourself.

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.