aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2020-07-09 03:09:00 -0400
committertdro <tdro@users.noreply.github.com>2020-07-09 03:09:00 -0400
commit2a772bf1d5825fc6efa1118888f5c14300d39c3a (patch)
treede26f33d941f74250219b1d589606266dbc9661b /.vimrc
parentd26c6035300804f8feed8867be6ec7e2c1319b5a (diff)
downloaddotfiles-2a772bf1d5825fc6efa1118888f5c14300d39c3a.tar.gz
dotfiles-2a772bf1d5825fc6efa1118888f5c14300d39c3a.tar.bz2
dotfiles-2a772bf1d5825fc6efa1118888f5c14300d39c3a.zip
.vimrc: Capture all nix-linter output
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index d66cc5a..825fbdc 100644
--- a/.vimrc
+++ b/.vimrc
@@ -284,7 +284,7 @@ augroup AutoCommands
autocmd BufWritePost *.js :call ESLintFix()
autocmd BufWritePost *.yml :call AnsibleCheck()
autocmd FileType bash,sh autocmd! BufWritePost <buffer> :call ShellCheck()
- autocmd FileType nix autocmd! BufWritePost <buffer> :silent !notify-send -t 10000 "$(nix-linter % && echo 'Nix Lint OK: %')" >/dev/null 2>&1 &
+ autocmd FileType nix autocmd! BufWritePost <buffer> :silent !notify-send -t 10000 "$(nix-linter % 2>&1 && echo 'Nix Lint OK: %')" >/dev/null 2>&1 &
" REPL commands
autocmd FileType go noremap <buffer> <leader>cc :Repl gore<cr>