From 3dbb1350a971bfd906bff0f3247a81e58a7dd329 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 16 Nov 2022 09:26:35 +0000 Subject: [PATCH] Run shellcheck with vim --- states/vim/files/vimrc | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.44.0