aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-05-24 19:44:59 -0400
committertdro <tdro@users.noreply.github.com>2022-05-24 19:44:59 -0400
commita994c81eb3560b2916ea8fe9519e650906687b73 (patch)
tree9bcaa675e4032d483733eacd8005aa03f49b5447
parentc2636a947389a370f383f057788da6ce24c92cd2 (diff)
downloaddotfiles-a994c81eb3560b2916ea8fe9519e650906687b73.tar.gz
dotfiles-a994c81eb3560b2916ea8fe9519e650906687b73.tar.bz2
dotfiles-a994c81eb3560b2916ea8fe9519e650906687b73.zip
.vim/vimrc: Try to check xslt
-rw-r--r--.vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index 877d165..3d16444 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -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 %