diff --git a/vim/.vimrc b/vim/.vimrc index 3d2d25c..604e1c2 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -20,10 +20,8 @@ set foldenable foldlevelstart=20 foldmethod=indent " " linter autocmd FileType python setlocal makeprg=pylint\ --output-format=parseable -autocmd FileType yaml setlocal ts=2 sts=2 sw=2 makeprg=yamllint\ --f\ -parsable\ % -autocmd FileType json autocmd BufWritePre %!python -m json.tool -2>/dev/null +autocmd FileType yaml setlocal ts=2 sts=2 sw=2 makeprg=yamllint\ --f\ parsable\ % +autocmd FileType json autocmd BufWritePre %!python -m json.tool 2>/dev/null autocmd BufWritePost *.py silent make! | silent redraw! autocmd QuickFixCmdPost [^l]* cwindow