- Install syntastic vim plugin (as of vim 7.4.x no plugin manager is required anymore!)
mkdir -p ~/.vim/pack/$USER/start/ cd ~/.vim/pack/$USER/start/ git clone https://github.com/vim-syntastic/syntastic.git
- Install yamllint:
pip3 install yamllint
- Configure yamllint:
- see [https://yamllint.readthedocs.io/en/stable/configuration.html?highlight=disable#default-configuration]
- use attached file "yamllint_config.yml" and copy to ~/.config/yamllint/config
mkdir -p ~/.config/yamllint/; vim ~/.config/yamllint/config
- Config and activate plugin checkers in vimrc – see attached vimrc
- Open a file x.yml and edit away, and save!
- To see what Syntastic knows about this file by using the command
:SyntasticInfo
https://github.com/vim-syntastic/syntastic https://github.com/vim-syntastic/syntastic/blob/master/doc/syntastic-checkers.txt https://github.com/vim-syntastic/syntastic/blob/master/doc/syntastic-checkers.txt