diff options
author | tdro <tdro@users.noreply.github.com> | 2022-11-11 07:04:55 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-11-11 07:04:55 -0500 |
commit | b8bb8768c9d9d33ca4e846d4339c22cdf51677a2 (patch) | |
tree | 71a38a457e0ee58660fe80a3cbb376292af6e231 /.vim | |
parent | f796d65684e547e5ac167603993a43e4d5e74e28 (diff) | |
download | dotfiles-b8bb8768c9d9d33ca4e846d4339c22cdf51677a2.tar.gz dotfiles-b8bb8768c9d9d33ca4e846d4339c22cdf51677a2.tar.bz2 dotfiles-b8bb8768c9d9d33ca4e846d4339c22cdf51677a2.zip |
.vim/vimrc: Run phpstan check
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -287,7 +287,7 @@ augroup AutoCommands autocmd BufWritePost plugins.vim source % | Notify('printf "Plugins configuration sourced."') " Linting file type post write commands. - autocmd FileType php autocmd! BufWritePost <buffer> exe 'Notify(''phpcbf ' . expand('%') . ' 2>&1'')' | :e + autocmd FileType php autocmd! BufWritePost <buffer> exe 'Notify(''phpcbf ' . expand('%') . ' 2>&1 && phpstan --no-progress --no-ansi --no-interaction analyze --level max ' . expand('%') . ' 2>&1'')' | :e autocmd FileType css autocmd! BufWritePost <buffer> exe 'Notify(''prettier --write --parser css ' . expand('%') . ' 2>&1'')' | :e autocmd FileType html autocmd! BufWritePost <buffer> exe 'Notify(''prettier --write --parser html ' . expand('%') . ' 2>&1'')' | :e autocmd FileType python autocmd! BufWritePost <buffer> exe 'Notify(''black ' . expand('%') . ' 2>&1 && pylint ' . expand('%') . ' 2>&1'')' | :e |