From ad7d77157254fe89be16899c60fa47bb82f5f6c3 Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Thu, 13 May 2021 12:02:32 +0200 Subject: [PATCH] add ident style for xml files --- vimrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vimrc b/vimrc index e3ef479..c093340 100644 --- a/vimrc +++ b/vimrc @@ -4,8 +4,9 @@ call pathogen#infect() " Autocmd autocmd BufWritePre * %s/\s\+$//e " delete deprecated dots at very end of a line autocmd Filetype make setlocal noexpandtab " use tabs in make files instead whitespaces -autocmd Filetype yaml setlocal shiftwidth=2 softtabstop=2 " yaml files autocmd Filetype javascript setlocal shiftwidth=2 softtabstop=2 " javascript files +autocmd Filetype yaml setlocal shiftwidth=2 softtabstop=2 " yaml files +autocmd Filetype xml setlocal shiftwidth=2 softtabstop=2 " xml files autocmd BufNewFile,BufRead rsnapshot.conf setlocal noexpandtab " use tabs in rsnapshot.conf files instead whitespaces " Close NerdTree, if NerdTree is the last open buffer