diff options
author | tdro <tdro@users.noreply.github.com> | 2022-05-24 19:44:59 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2022-05-24 19:44:59 -0400 |
commit | a994c81eb3560b2916ea8fe9519e650906687b73 (patch) | |
tree | 9bcaa675e4032d483733eacd8005aa03f49b5447 /.vim | |
parent | c2636a947389a370f383f057788da6ce24c92cd2 (diff) | |
download | dotfiles-a994c81eb3560b2916ea8fe9519e650906687b73.tar.gz dotfiles-a994c81eb3560b2916ea8fe9519e650906687b73.tar.bz2 dotfiles-a994c81eb3560b2916ea8fe9519e650906687b73.zip |
.vim/vimrc: Try to check xslt
Diffstat (limited to '.vim')
-rw-r--r-- | .vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -296,7 +296,7 @@ augroup AutoCommands autocmd FileType haskell autocmd! BufWritePost <buffer> exe 'Notify(''hlint ' . expand('%') . ' 2>&1 && brittany --write-mode inplace ' . expand('%') . ' 2>&1'')' | :e autocmd FileType c autocmd! BufWritePost <buffer> exe 'Notify(''clang-format -i ' . expand('%') . ' 2>&1 && printf "Clang Format OK: ' . expand('%') . '"'')' | :e autocmd FileType bash,sh autocmd! BufWritePost <buffer> exe 'Notify(''shellcheck -x --exclude=SC1090,SC1091 ' . expand('%') . ' 2>&1 && printf "Shellcheck OK: ' . expand('%') . '"'')' - autocmd FileType xml autocmd! BufWritePost <buffer> exe 'Notify(''xmllint --pretty 1 ' . expand('%') . ' 2>&1 | sponge ' . expand('%') . ' && printf "XML OK: ' . expand('%') . '"'')' | :e + autocmd FileType xml,xslt autocmd! BufWritePost <buffer> exe 'Notify(''xmllint --pretty 1 ' . expand('%') . ' 2>&1 | sponge ' . expand('%') . ' && printf "XML OK: ' . expand('%') . '"'')' | :e autocmd FileType go autocmd! BufWritePost <buffer> exe 'Notify(''gofmt -w -s -e ' . expand('%') . ' 2>&1 && go vet ' . expand('%') . ' 2>&1 && printf "Go Format OK: ' . expand('%') . '"'')' | :e autocmd FileType nix autocmd! BufWritePost <buffer> exe 'Notify(''nix-linter ' . expand('%') . ' 2>&1 && printf "Nix Lint OK: ' . expand('%') . '"' . ' && nixfmt ' . expand('%') . ' 2>&1' . ''')' | :e autocmd FileType tex autocmd! BufWritePost <buffer> exe 'Notify(''latexindent ' . expand('%') . ' 2>&1 && printf "LaTeX OK: ' . expand('%') . '"'')' | :e | :only | :term ++close ++rows=10 latex-compile % |