From f6f3a52928d58ad656cdeb858eb14ab32f6ac538 Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Sat, 27 Oct 2012 23:53:30 -0400 Subject: [PATCH] vimrc: use setlocal instead of set --- vimrc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vimrc b/vimrc index 8b59da7..6f99b12 100755 --- a/vimrc +++ b/vimrc @@ -118,9 +118,10 @@ if has("autocmd") autocmd Syntax {cpp,c,idl} runtime syntax/doxygen.vim autocmd QuickFixCmdPre grep copen autocmd QuickFixCmdPre vimgrep copen - autocmd FileType html set sw=2 ts=2 sts=2 - autocmd FileType xhtml set sw=2 ts=2 sts=2 - autocmd FileType ruby set sw=2 ts=2 sts=2 + autocmd FileType html setlocal sw=2 ts=2 sts=2 + autocmd FileType xhtml setlocal sw=2 ts=2 sts=2 + autocmd FileType xml setlocal sw=2 ts=2 sts=2 + autocmd FileType ruby setlocal sw=2 ts=2 sts=2 endif " has("autocmd") if !exists('s:loaded')