diff options
author | tdro <tdro@users.noreply.github.com> | 2020-08-15 15:58:07 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-08-15 15:58:07 -0400 |
commit | 20852793c98df4839684d28c93ba2a92963bf8b6 (patch) | |
tree | 954f3229019bc54d100bbdca84fa854f4743d13a /.vimrc | |
parent | 4035d9aa2a2e82018533a4b4a47636d147cd5cdf (diff) | |
download | dotfiles-20852793c98df4839684d28c93ba2a92963bf8b6.tar.gz dotfiles-20852793c98df4839684d28c93ba2a92963bf8b6.tar.bz2 dotfiles-20852793c98df4839684d28c93ba2a92963bf8b6.zip |
.local/bin: Add vale wrapper
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -289,6 +289,7 @@ augroup AutoCommands autocmd BufWritePost *.php :call PHPFix() autocmd BufWritePost *.js :call ESLintFix() autocmd BufWritePost *.yml :call AnsibleCheck() + autocmd BufWritePost *.txt,*.md :term ++rows=10 vale-wrapper % autocmd FileType bash,sh autocmd! BufWritePost <buffer> :call ShellCheck() autocmd FileType nix autocmd! BufWritePost <buffer> silent call NixCheck() autocmd FileType rust autocmd! BufWritePost <buffer> silent !notify-send "$(rustfmt % 2>&1 && echo 'rustfmt OK:' %)" |