aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/text/text.vim
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2020-04-28 01:17:21 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2020-04-28 01:17:21 +0200
commit3e7dc0f51944b8603815186eee4aacbd10d1a687 (patch)
treecd0f5b29f23dd547c46ffa4e0099f3992f7ba8e3 /files/vim/ftplugin/text/text.vim
parent0281e3b14de673b5a5c6f31902c3410dd61bd4bc (diff)
downloadconfigs-3e7dc0f51944b8603815186eee4aacbd10d1a687.tar.gz
configs-3e7dc0f51944b8603815186eee4aacbd10d1a687.zip
Several changed in vim's filetype plugins.
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