diff options
author | tdro <tdro@users.noreply.github.com> | 2020-12-14 21:41:38 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-12-14 21:41:38 -0500 |
commit | cecb64075c6574ca86a6417c7e612c1491bb22ec (patch) | |
tree | 48b64b3d2c7b02704b1070705419b6735b310d99 /.vimrc | |
parent | d45fa49d4b7fdc3131fc92ea35b4285c4755046e (diff) | |
download | dotfiles-cecb64075c6574ca86a6417c7e612c1491bb22ec.tar.gz dotfiles-cecb64075c6574ca86a6417c7e612c1491bb22ec.tar.bz2 dotfiles-cecb64075c6574ca86a6417c7e612c1491bb22ec.zip |
.vimrc: Quote entire notify echo message
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -310,10 +310,10 @@ augroup AutoCommands autocmd FileType nix autocmd! BufWritePost <buffer> silent call NixCheck() autocmd FileType elixir autocmd! BufWritePost <buffer> :call ElixirFormat() autocmd FileType css autocmd! BufWritePost <buffer> silent !notify-send "$(prettier --write --parser css % 2>&1)" - autocmd FileType rust autocmd! BufWritePost <buffer> silent !notify-send "$(rustfmt % 2>&1 && echo 'rustfmt OK:' %)" - autocmd FileType c autocmd! BufWritePost <buffer> silent !notify-send "$(clang-format -i % 2>&1 && echo 'clang-format OK:' %)" - autocmd FileType go autocmd! BufWritePost <buffer> silent !notify-send "$(gofmt -w -s -e % 2>&1 && go vet % 2>&1 && echo 'gofmt OK:' %)" - autocmd FileType awk autocmd! BufWritePost <buffer> silent !notify-send "$(awk -g -f % 2>&1 && awk -o- -f % | sponge % && echo 'awk OK:' %)" + autocmd FileType rust autocmd! BufWritePost <buffer> silent !notify-send "$(rustfmt % 2>&1 && echo 'rustfmt OK: %')" + autocmd FileType c autocmd! BufWritePost <buffer> silent !notify-send "$(clang-format -i % 2>&1 && echo 'clang-format OK: %')" + autocmd FileType go autocmd! BufWritePost <buffer> silent !notify-send "$(gofmt -w -s -e % 2>&1 && go vet % 2>&1 && echo 'gofmt OK: %')" + autocmd FileType awk autocmd! BufWritePost <buffer> silent !notify-send "$(awk -g -f % 2>&1 && awk -o- -f % | sponge % && echo 'awk OK: %')" autocmd FileType yaml autocmd! BufWritePost <buffer> silent !notify-send "$(yaml round-trip --indent 2 --save % 2>&1 && yamllint -s % 2>&1 && echo 'yaml OK: %')" " File type function under cursor lookups. |