A collection of language packs for Vim. It won't affect your startup time, as scripts are loaded only on demand. It installs and updates 120+ times faster than the 598 packages it consists of. It is also more secure (scripts loaded for every filetype are generated by vim-polyglot). Best syntax and indentation support (no other features). Hand-selected language packs. Automatically detects indentation (includes a performance-optimized version of vim-sleuth, can be disabled). On top of all language packs from vim repository, vim-polyglot includes many other language packs such as acpiasl (Syntax highlighting for asl and dsl files), ansible, apiblueprint (API Blueprint syntax highlighting for apib files), cql (Syntax highlighting for cql files), cryptol (Syntax highlighting for cry, cyl, lcry and lcyl files), crystal (Crystal and HTML+ECR syntax highlighting for cr and ecr files), go (Go syntax highlighting for go and tmpl files), gradle, and many more.
Features
- Individual language packs can be disabled
- Vim Polyglot tries to automatically detect indentation settings
- Disable reindenting of the current line in insert mode
- Vim Polyglot sets defaults of some settings that are relevant for good language support
- Use utf-8 encoding by default
- Automatically reload file if changed somewhere else
- Disable existing swapfile warnings, instead just create multiple swapfiles
- Don't create swapfiles in current directory, instead in data directory