SEEKING MAINTAINER
If you would like to become the maintainer of this plugin, please make an issue citing at least one example of your work with Vimscript.
vim-ansible-yaml
Adds additional syntax highlighting and fixes indentation for Ansible's dialect of YAML.
Ansible YAML files are detected based on the presence of a structure following Ansible's Playbook Best Practices.
Install
Using Vundle
-
Add the following to your
.vimrc
where other bundles are located:Bundle 'chase/vim-ansible-yaml'
-
Run from command line:
$ vim +BundleInstall
Using pathogen
-
Check out the repository into your bundle path:
$ cd ~/.vim/bundle $ git clone git://github.com/chase/vim-ansible-yaml.git
Normal
-
Check out the repository and copy the following to
.vim/
directory or any other run time path, keeping their directory structure intact:ftdetect/ansible.vim syntax/ansible.vim syntax/include/jinja.vim syntax/include/yaml.vim indent/ansible.vim
Thanks
A huge thanks to Igor Vergeichik and Nikolai Weibull for their work on the YAML syntax that this bundle uses.
Also, thank you, Armin Ronacher, for the
simple and effective Jinja syntax file.