Go to file
Adam Stankiewicz 9d9ed14485 Add ACPI ASL and SMT2 support
closes #379
closes #378
2019-03-10 21:22:06 +01:00
after Remove rare html extensions, fixes #280 2019-03-10 20:14:21 +01:00
autoload Add ACPI ASL and SMT2 support 2019-03-10 21:22:06 +01:00
compiler Add lilypond support, closes #278 2019-03-05 09:34:59 +01:00
extras Change plugin guard for disabling, fixes #371 2019-03-04 09:28:35 +01:00
ftdetect Add ACPI ASL and SMT2 support 2019-03-10 21:22:06 +01:00
ftplugin Add ACPI ASL and SMT2 support 2019-03-10 21:22:06 +01:00
indent Add lilypond support, closes #278 2019-03-05 09:34:59 +01:00
spec Fix specs 2019-03-10 19:42:33 +01:00
syntax Add ACPI ASL and SMT2 support 2019-03-10 21:22:06 +01: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 Update timeout and ruby version 2019-03-10 18:46:17 +01:00
build Add ACPI ASL and SMT2 support 2019-03-10 21:22:06 +01:00
config.vim Add csv plugin, closes #239 2019-03-10 21:16:48 +01:00
Gemfile Move specs location one level down 2013-09-14 20:20:59 +02:00
Gemfile.lock Update vimrunner 2019-03-04 10:51:48 +01:00
plugin_guard.vim.template Change plugin guard for disabling, fixes #371 2019-03-04 09:28:35 +01:00
README.md Add ACPI ASL and SMT2 support 2019-03-10 21:22:06 +01:00

vim-polyglot Build Status Maintenance

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 and updates 100+ times faster than the 132 packages it consists of.
  • Solid syntax and indentation support (other features skipped). 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 up to 17ms to load.

Installation

  1. Install Pathogen, Vundle, NeoBundle, or Plug package manager for Vim.
  2. Use this repository as submodule or package.

For example when using Plug:

Plug 'sheerun/vim-polyglot'

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

You can also use Vim 8 built-in package manager:

mkdir -p ~/.vim/pack/default/start
git clone https://github.com/sheerun/vim-polyglot ~/.vim/pack/default/start/vim-polyglot

NOTE: Not all features of listed language packs are available. We strip them from functionality slowing vim startup in general (for example we ignore plugins folder that is loaded regardless of file type, use ftplugin instead).

If you need full functionality of any plugin, please use it directly with your plugin manager.

Language packs

Updating

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

Troubleshooting

Please make sure you have syntax on in your .vimrc, otherwise syntax files are not loaded at all.

Individual language packs can be disabled by setting g:polyglot_disabled as follows:

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

Note that disabling 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.

Contributing

Language packs are periodically updated using automated build script.

Feel free to add your language, and send pull-request. In your pull request, please include:

  1. How you chose the particular repo from which to pull support for this language.
  2. An updated https://github.com/sheerun/vim-polyglot/blob/master/build .
  3. If at all possible, absolutely nothing else (in particular, please don't run build and include that in your PR).

The easier it is to validate that the new language won't do anything wacky, the faster it'll be merged. In particular, languages that utilize global plugins (loaded for every filetype), or plugins with dangerous features (like call based on the contents of a file being edited), will never be merged, as they will be slow or dangerous, respectively.

License

See linked repositories for detailed license information.