]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Run shellcheck with vim
authorMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Wed, 16 Nov 2022 09:26:35 +0000 (09:26 +0000)
committerMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Wed, 16 Nov 2022 09:26:35 +0000 (09:26 +0000)
states/vim/files/vimrc

index 347f93a28608019b1bebd25d28d24daae6b9445c..4baa304ef0531fa16675cb0c558ecc0d01b628ec 100644 (file)
@@ -34,6 +34,7 @@ Plugin 'ctrlpvim/ctrlp.vim'
 Plugin 'Chiel92/vim-autoformat'
 Plugin 'python-rope/ropevim'
 Plugin 'pangloss/vim-javascript'
+Plugin 'itspriddle/vim-shellcheck'
 
 " All of your Plugins must be added before the following line
 call vundle#end()            " required
@@ -71,6 +72,7 @@ let g:syntastic_javascript_checkers = ['eslint']
 let g:syntastic_python_python_exec = '/usr/bin/python3'
 let g:syntastic_python_checkers = ['python', 'flake8']
 let g:syntastic_python_flake8_args='--config=/home/max/.config/flake8'
+let g:syntastic_sh_checkers = ['shellcheck']
 let g:syntastic_aggregate_errors = 1
 
 " Syntastic C++11