aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/ftplugin/nroff.vim
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2018-10-03 13:46:26 -0400
committerTucker Evans <tuckerevans24@gmail.com>2018-10-03 13:46:26 -0400
commit7ff346e6133155fe3b3818f80acede18e9e5eb36 (patch)
tree7b7b29cfe243c82f5358cdb508118eb7daeee188 /vim/.vim/ftplugin/nroff.vim
parent31ea47e9e01fbe0334d5514b59ba5a7bcc463826 (diff)
Updates vim setup
Diffstat (limited to 'vim/.vim/ftplugin/nroff.vim')
-rw-r--r--vim/.vim/ftplugin/nroff.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/vim/.vim/ftplugin/nroff.vim b/vim/.vim/ftplugin/nroff.vim
new file mode 100644
index 0000000..fd5afa6
--- /dev/null
+++ b/vim/.vim/ftplugin/nroff.vim
@@ -0,0 +1,3 @@
+set spell
+
+autocmd BufWritePost * silent! execute "!grap % | pic | tbl | eqn | troff -ms | grops > %:r.ps" | redraw!