diff options
author | Matt Turner <mattst88@gmail.com> | 2015-10-21 21:35:40 -0700 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-10-21 21:35:40 -0700 |
commit | f27da6e325cf298fe5a46c57585a12c9e718fa71 (patch) | |
tree | df5b06a6d535fdf1b231c96652845e9b200db005 /.vimrc |
Initial commit.
Diffstat (limited to '.vimrc')
-rw-r--r-- | .vimrc | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +autocmd BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl,*.shader_test set syntax=glsl + +autocmd BufNewFile,BufRead /home/mattst88/projects/mesa/* set expandtab tabstop=8 softtabstop=3 shiftwidth=3 +autocmd BufNewFile,BufRead /home/mattst88/projects/mesa/src/glsl/glcpp/* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead /home/mattst88/projects/mesa/src/glsl/glsl_parser.yy set noexpandtab tabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead /home/mattst88/projects/piglit/* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead Makefile* set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 +autocmd BufNewFile,BufRead *.mk set noexpandtab tabstop=8 softtabstop=8 shiftwidth=8 + +autocmd BufNewFile,BufRead *.py set tabstop=4 softtabstop=4 shiftwidth=4 textwidth=80 smarttab expandtab + +set bg=dark +set modeline |