summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-06-14 13:27:46 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-06-14 13:29:06 +0200
commit756dba817847dff7208647500dea7bd2291d0684 (patch)
treed046aa368918c26063e901d323842f41104e57ef /.config/vim/vimrc
parent2c38446b62051fdd685e1bb0d6a5c6e170693d8c (diff)
downloaddotfiles-756dba817847dff7208647500dea7bd2291d0684.tar.gz
dotfiles-756dba817847dff7208647500dea7bd2291d0684.tar.bz2
dotfiles-756dba817847dff7208647500dea7bd2291d0684.zip
vimrc: indent settings for wayland and mesa
Diffstat (limited to '.config/vim/vimrc')
-rw-r--r--.config/vim/vimrc6
1 files changed, 4 insertions, 2 deletions
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
-