aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin/nroff.vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim/.vim/after/ftplugin/nroff.vim')
-rw-r--r--vim/.vim/after/ftplugin/nroff.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/.vim/after/ftplugin/nroff.vim b/vim/.vim/after/ftplugin/nroff.vim
new file mode 100644
index 0000000..031c8d9
--- /dev/null
+++ b/vim/.vim/after/ftplugin/nroff.vim
@@ -0,0 +1,2 @@
+set spell
+autocmd BufWritePost * silent! !grap % | pic | tbl | eqn | troff -ms | grops > %:r.ps