aboutsummaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 56f16bd..9b254a1 100644
--- a/.vimrc
+++ b/.vimrc
@@ -313,13 +313,13 @@ augroup AutoCommands
" Linting extension post write commands.
autocmd BufWritePost *.php :call PHPFix()
autocmd BufWritePost *.js :call ESLintFix()
- autocmd BufWritePost *.ex :call ElixirFormat()
autocmd BufWritePost *.yml :call AnsibleCheck()
autocmd BufWritePost *.txt,*.md :only | :term ++rows=10 vale-wrapper %
" Linting file type post write commands.
autocmd FileType bash,sh autocmd! BufWritePost <buffer> :call ShellCheck()
autocmd FileType nix autocmd! BufWritePost <buffer> silent call NixCheck()
+ autocmd FileType elixir autocmd! BufWritePost <buffer> :call ElixirFormat()
autocmd FileType rust autocmd! BufWritePost <buffer> silent !notify-send "$(rustfmt % 2>&1 && echo 'rustfmt OK:' %)"
" File type function under cursor lookups.