From: Maximilian Friedersdorff Date: Wed, 16 Nov 2022 09:26:35 +0000 (+0000) Subject: Run shellcheck with vim X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=3dbb1350a971bfd906bff0f3247a81e58a7dd329;hp=25b1d3e8eaae5e7e0f830304659baf1b571a47b0;p=max%2Fsaltfiles.git Run shellcheck with vim --- diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 347f93a..4baa304 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -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