## Getting vim yaml linter to work: 1. 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 ``` 1. Install yamllint: `pip3 install yamllint` 1. 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 ` 1. Config and activate plugin checkers in vimrc – see attached vimrc 1. Open a file x.yml and edit away, and save! 1. To see what Syntastic knows about this file by using the command `:SyntasticInfo` ### Links: 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