Skip to content

Commit 1cc457d

Browse files
committed
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.
1 parent e4196ed commit 1cc457d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.vimrc

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ set shiftwidth=8
1616
set expandtab
1717
set makeprg=GCC_COLORS=\ make
1818
set tw=79
19-
au FileType xml set tw=119
19+
au BufRead,BufNewFile *.xml set tw=119 shiftwidth=2 smarttab
2020
au FileType c set tw=119

0 commit comments

Comments
 (0)