aboutsummaryrefslogtreecommitdiff
path: root/vim/.vim/after/ftplugin
diff options
context:
space:
mode:
authorTucker Evans <tuckerevans24@gmail.com>2018-10-10 06:15:29 -0400
committerTucker Evans <tuckerevans24@gmail.com>2018-10-10 06:15:29 -0400
commitc3044d4ab930a097a10006766c075afcf057b7db (patch)
treee5a6d3a77f20b060757e425465caa577dd0e1d76 /vim/.vim/after/ftplugin
parent0aa718e3c2b14bb31dec333f3480e321ed0c2695 (diff)
parent15af8ec917a361fd6f16865859286b4dc066c8e2 (diff)
Merge branch 'master' into ursa_minor
Diffstat (limited to 'vim/.vim/after/ftplugin')
-rw-r--r--vim/.vim/after/ftplugin/haskell.vim1
-rw-r--r--vim/.vim/after/ftplugin/nroff.vim2
-rw-r--r--vim/.vim/after/ftplugin/rst.vim9
-rw-r--r--vim/.vim/after/ftplugin/tex.vim1
-rw-r--r--vim/.vim/after/ftplugin/tr.vim1
5 files changed, 6 insertions, 8 deletions
diff --git a/vim/.vim/after/ftplugin/haskell.vim b/vim/.vim/after/ftplugin/haskell.vim
index b0ce109..109cd5b 100644
--- a/vim/.vim/after/ftplugin/haskell.vim
+++ b/vim/.vim/after/ftplugin/haskell.vim
@@ -4,4 +4,3 @@ set expandtab "Always uses spaces instead of tabs
set softtabstop=4 "Insert 4 spaces when tab is pressed
set shiftwidth=4 "An indent is 4 spaces
set shiftround "Round indent to nearest shiftwidth multiple
-
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
diff --git a/vim/.vim/after/ftplugin/rst.vim b/vim/.vim/after/ftplugin/rst.vim
index 4ea3bbf..c5fc1a9 100644
--- a/vim/.vim/after/ftplugin/rst.vim
+++ b/vim/.vim/after/ftplugin/rst.vim
@@ -1,7 +1,6 @@
" Tab specific option
-set tabstop=8 "A tab is 8 spaces
-set noexpandtab "Always uses spaces instead of tabs
-set shiftwidth=2 "An indent is 4 spaces
-set softtabstop=8 "Insert 4 spaces when tab is pressed
+set tabstop=4 "A tab is 8 spaces
+set expandtab "Always uses spaces instead of tabs
+set softtabstop=4 "Insert 4 spaces when tab is pressed
+set shiftwidth=4 "An indent is 4 spaces
set shiftround "Round indent to nearest shiftwidth multiple
-
diff --git a/vim/.vim/after/ftplugin/tex.vim b/vim/.vim/after/ftplugin/tex.vim
index 95e50d4..87f4512 100644
--- a/vim/.vim/after/ftplugin/tex.vim
+++ b/vim/.vim/after/ftplugin/tex.vim
@@ -1,2 +1 @@
set spell
-au BufWritePost * silent! execute "!pdflatex %" | redraw!
diff --git a/vim/.vim/after/ftplugin/tr.vim b/vim/.vim/after/ftplugin/tr.vim
deleted file mode 100644
index 87f4512..0000000
--- a/vim/.vim/after/ftplugin/tr.vim
+++ /dev/null
@@ -1 +0,0 @@
-set spell