aboutsummaryrefslogtreecommitdiff
path: root/.vim
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2023-06-08 18:33:27 -0400
committertdro <tdro@users.noreply.github.com>2023-06-08 18:33:27 -0400
commit4c3f1dae67f5df2986fdfd5cdb97d7c5bd69f3d6 (patch)
treedea7031d549bc36065977592573aaf4ecae02242 /.vim
parent3fae4c9b1631fed9ce8ac8c73c78d47477dfc6ed (diff)
downloaddotfiles-4c3f1dae67f5df2986fdfd5cdb97d7c5bd69f3d6.tar.gz
dotfiles-4c3f1dae67f5df2986fdfd5cdb97d7c5bd69f3d6.tar.bz2
dotfiles-4c3f1dae67f5df2986fdfd5cdb97d7c5bd69f3d6.zip
.config/nixpkgs: Sync to latest unstable
Wrap guile bindings
Diffstat (limited to '.vim')
-rw-r--r--.vim/vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vim/vimrc b/.vim/vimrc
index ee1f868..4ff20c2 100644
--- a/.vim/vimrc
+++ b/.vim/vimrc
@@ -290,6 +290,7 @@ augroup AutoCommands
" Linting file type post write commands.
autocmd FileType markdown autocmd! BufWritePost <buffer> :only | :term ++rows=10 sh -c "cat % | vale --ext .md"
+ autocmd FileType scheme autocmd! BufWritePost <buffer> exe 'Notify(''guile -s ' . expand('%') . ' 2>&1'')' | :e
autocmd FileType css autocmd! BufWritePost <buffer> exe 'Notify(''prettier --write --parser css ' . expand('%') . ' 2>&1'')' | :e
autocmd FileType html autocmd! BufWritePost <buffer> exe 'Notify(''prettier --write --parser html ' . expand('%') . ' 2>&1'')' | :e
autocmd FileType python autocmd! BufWritePost <buffer> exe 'Notify(''ruff --no-cache ' . expand('%') . ' 2>&1 && black ' . expand('%') . ' 2>&1'')' | :e