Skip to content

jorgeegomez/vim-ansible-yaml

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Add the following to your .vimrc where other bundles are located:

     Bundle 'chase/vim-ansible-yaml'
    
  2. Run from command line:

     $ vim +BundleInstall
    

Using pathogen

  1. Check out the repository into your bundle path:

     $ cd ~/.vim/bundle
     $ git clone git://github.com/chase/vim-ansible-yaml.git
    

Normal

  1. 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.

About

Add additional support for Ansible in VIM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%