diff options
author | tdro <tdro@users.noreply.github.com> | 2020-11-19 22:07:48 -0500 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2020-11-19 22:07:48 -0500 |
commit | 0d04bf6a76852089d43f5e3b45e81c56d07a0acf (patch) | |
tree | 0d157a6609978b5bbc3fd3870d21667e93bc8ceb /.vimrc | |
parent | 89012389484e830c556579bf84139bbde8a34fdf (diff) | |
download | dotfiles-0d04bf6a76852089d43f5e3b45e81c56d07a0acf.tar.gz dotfiles-0d04bf6a76852089d43f5e3b45e81c56d07a0acf.tar.bz2 dotfiles-0d04bf6a76852089d43f5e3b45e81c56d07a0acf.zip |
.vimrc: Detect elixir file type
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |