From 0d04bf6a76852089d43f5e3b45e81c56d07a0acf Mon Sep 17 00:00:00 2001 From: tdro Date: Thu, 19 Nov 2020 22:07:48 -0500 Subject: .vimrc: Detect elixir file type --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.vimrc') 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 :call ShellCheck() autocmd FileType nix autocmd! BufWritePost silent call NixCheck() + autocmd FileType elixir autocmd! BufWritePost :call ElixirFormat() autocmd FileType rust autocmd! BufWritePost silent !notify-send "$(rustfmt % 2>&1 && echo 'rustfmt OK:' %)" " File type function under cursor lookups. -- cgit v1.2.3