summaryrefslogtreecommitdiff
path: root/.config/vim/vimrc
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-07-13 10:30:27 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-07-13 10:30:27 +0200
commit961f1d1f1fd9faacdfc46152f9a2bbcd1dee4360 (patch)
tree35628b63fe0ac7d1c83cb99ba6fb492bc6c64208 /.config/vim/vimrc
parent756dba817847dff7208647500dea7bd2291d0684 (diff)
downloaddotfiles-961f1d1f1fd9faacdfc46152f9a2bbcd1dee4360.tar.gz
dotfiles-961f1d1f1fd9faacdfc46152f9a2bbcd1dee4360.tar.bz2
dotfiles-961f1d1f1fd9faacdfc46152f9a2bbcd1dee4360.zip
vimrc: update mesa settings for configure.ac, Makefiles and Sconsscripts
Diffstat (limited to '.config/vim/vimrc')
-rw-r--r--.config/vim/vimrc11
1 files changed, 7 insertions, 4 deletions
diff --git a/.config/vim/vimrc b/.config/vim/vimrc
index fbdc131..cfb9688 100644
--- a/.config/vim/vimrc
+++ b/.config/vim/vimrc
@@ -92,10 +92,13 @@ runtime ftplugin/man.vim
" set bash syntax - pressed v in bash-vi mode
au BufRead,BufNewFile /tmp/bash-* let is_bash=1|setfiletype sh
-" project specific settings
-autocmd BufNewFile,BufRead /home/ben/src/mesa/*{c,h,cpp} set sw=3 ts=8 sts=3 et
-"
-" project specific settings
+" mesa project specific settings
+autocmd BufNewFile,BufRead /home/ben/src/mesa*/*{c,h,cpp} set sw=3 ts=8 sts=3 et
+autocmd BufNewFile,BufRead /home/ben/src/mesa*/Makefile.* set ft=make
+autocmd BufNewFile,BufRead /home/ben/src/mesa*/SCons* set ft=python sw=4 sts=4 ts=4 et
+autocmd BufNewFile,BufRead /home/ben/src/mesa*/configure.ac set sw=4 sts=4 ts=8 et
+
+" wayland project specific settings
autocmd BufNewFile,BufRead /home/ben/src/wayland/*xml set sw=2 ts=8 sts=2 et
" vimmanpager stuff