From 1cc457d9985d494e59251fd41c84a2d555a91636 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 Apr 2016 15:06:28 +0200 Subject: [PATCH] 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. --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index 7b436bd3776..284bf88494c 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 -- 2.39.2