summaryrefslogtreecommitdiff
path: root/.vimrc
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-04-26 15:06:28 +0200
committerLennart Poettering <lennart@poettering.net>2016-04-29 12:23:34 +0200
commit1cc457d9985d494e59251fd41c84a2d555a91636 (patch)
treedd726442e36256b51855439acb86bcc098e17c88 /.vimrc
parente4196edfbf8edcee8771be5a71b69c95ea63d604 (diff)
vimrc: fix indentation logic for our docbook xml files
Make sure TAB results in 2ch indenting as we commonly use for our docbook XML files.
Diffstat (limited to '.vimrc')
-rw-r--r--.vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.vimrc b/.vimrc
index 7b436bd377..284bf88494 100644
--- a/.vimrc
+++ b/.vimrc
@@ -16,5 +16,5 @@ set shiftwidth=8
set expandtab
set makeprg=GCC_COLORS=\ make
set tw=79
-au FileType xml set tw=119
+au BufRead,BufNewFile *.xml set tw=119 shiftwidth=2 smarttab
au FileType c set tw=119