aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/text/text.vim
diff options
context:
space:
mode:
Diffstat (limited to 'files/vim/ftplugin/text/text.vim')
-rw-r--r--files/vim/ftplugin/text/text.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/files/vim/ftplugin/text/text.vim b/files/vim/ftplugin/text/text.vim
index c82dff1..406c1e1 100644
--- a/files/vim/ftplugin/text/text.vim
+++ b/files/vim/ftplugin/text/text.vim
@@ -3,6 +3,11 @@
"
" Syntastic linter: proselint
+" Tabs hate: tabs are expanded to 2 spaces
+setlocal tabstop=2 shiftwidth=2 expandtab
+" Show existing tabs (they can be deleted with :retab)
+setlocal list
+
call matchadd('ColorColumn', '\%101v', 100)
setlocal textwidth=100