From 756dba817847dff7208647500dea7bd2291d0684 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Tue, 14 Jun 2011 13:27:46 +0200 Subject: vimrc: indent settings for wayland and mesa --- .config/vim/vimrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.config/vim') diff --git a/.config/vim/vimrc b/.config/vim/vimrc index 604d7e1..fbdc131 100644 --- a/.config/vim/vimrc +++ b/.config/vim/vimrc @@ -93,7 +93,10 @@ runtime ftplugin/man.vim au BufRead,BufNewFile /tmp/bash-* let is_bash=1|setfiletype sh " project specific settings -autocmd BufNewFile,BufRead /home/ben/src/mesa/* set sw=3 ts=8 sts=3 et +autocmd BufNewFile,BufRead /home/ben/src/mesa/*{c,h,cpp} set sw=3 ts=8 sts=3 et +" +" project specific settings +autocmd BufNewFile,BufRead /home/ben/src/wayland/*xml set sw=2 ts=8 sts=2 et " vimmanpager stuff " disable line numbers when using vim as manpager @@ -107,4 +110,3 @@ set runtimepath=$XDG_DATA_HOME/vim,$VIM/vimfiles,$VIMRUNTIME,$VIM/vimfiles/after colorscheme tango set background=light - -- cgit