summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2020-12-28 22:23:52 -0500
committerBen Sima <ben@bsima.me>2020-12-28 22:33:10 -0500
commitba9e18d213f7aaf47fa57ccc4d139bc5cfe03d31 (patch)
tree2f90df7b3be6cd7703d7af33856a5b71fb369b3d /.vimrc
parent9824011e9dfeb46914c60f07ee3634fa9e54ec03 (diff)
ide: incremental tags and git hooks
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
new file mode 100644
index 0000000..a1848dd
--- /dev/null
+++ b/.vimrc
@@ -0,0 +1,8 @@
+augroup tags
+au BufWritePost *.hs silent !$BIZ_ROOT/Biz/Ide/init_tags.sh %
+au BufWritePost *.hsc silent !$BIZ_ROOT/Biz/Ide/init_tags.sh %
+au BufWritePost *.lhs silent !$BIZ_ROOT/Biz/Ide/init_tags.sh %
+augroup END
+
+set equalprg=ormolu
+