diff options
author | tdro <tdro@users.noreply.github.com> | 2021-05-24 02:01:43 -0400 |
---|---|---|
committer | tdro <tdro@users.noreply.github.com> | 2021-05-24 02:01:43 -0400 |
commit | 977aba7d462025b6fb3a06c1e40d17cac81062f7 (patch) | |
tree | 25b60cad4d8a87c68ecf893e6ef00ead4e136fe9 /.vimrc | |
parent | 358cb9f7e872ae3aea22ea5f0ba3531c524c2cad (diff) | |
download | dotfiles-977aba7d462025b6fb3a06c1e40d17cac81062f7.tar.gz dotfiles-977aba7d462025b6fb3a06c1e40d17cac81062f7.tar.bz2 dotfiles-977aba7d462025b6fb3a06c1e40d17cac81062f7.zip |
.config/nixpkgs: Bring back ruby
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -304,6 +304,7 @@ augroup AutoCommands " Linting file type post write commands. autocmd FileType css autocmd! BufWritePost <buffer> exe 'Notify(''prettier --write --parser css ' . expand('%') . ' 2>&1'')' | :e + autocmd FileType ruby autocmd! BufWritePost <buffer> exe 'Notify(''rufo ' . expand('%') . ' 2>&1 && rubocop ' . expand('%') . ' 2>&1'')' | :e autocmd FileType rust autocmd! BufWritePost <buffer> exe 'Notify(''rustfmt ' . expand('%') . ' 2>&1 && printf "rustfmt OK: ' . expand('%') . '"'')' | :e autocmd FileType json autocmd! BufWritePost <buffer> exe 'Notify(''jsonlint -i ' . expand('%') . ' 2>&1 && printf "JSON OK: ' . expand('%') . '"'')' | :e autocmd FileType haskell autocmd! BufWritePost <buffer> exe 'Notify(''hlint ' . expand('%') . ' 2>&1 && brittany --write-mode inplace ' . expand('%') . ' 2>&1'')' | :e |