aboutsummaryrefslogtreecommitdiff
path: root/files/vim/ftplugin/asciidoc/asciidoc.vim
diff options
context:
space:
mode:
Diffstat (limited to 'files/vim/ftplugin/asciidoc/asciidoc.vim')
-rw-r--r--files/vim/ftplugin/asciidoc/asciidoc.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/files/vim/ftplugin/asciidoc/asciidoc.vim b/files/vim/ftplugin/asciidoc/asciidoc.vim
index b3ad544..8eafbe5 100644
--- a/files/vim/ftplugin/asciidoc/asciidoc.vim
+++ b/files/vim/ftplugin/asciidoc/asciidoc.vim
@@ -3,6 +3,12 @@
"
" 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
+
+" Column marker: 80 characters
call matchadd('ColorColumn', '\%81v', 100)
setlocal textwidth=80