Permalink
Browse files

[vim] Add glsl syntax highlighting.

  • Loading branch information...
Russell Harmon
Russell Harmon committed Nov 11, 2012
1 parent d0aaeda commit 21185373799196a9c798b8eb71a45667fe975c98
Showing with 5 additions and 5 deletions.
  1. +3 −0 .gitmodules
  2. +1 −0 .vim/bundle/glsl
  3. +1 −5 .vimrc
View
@@ -25,3 +25,6 @@
[submodule ".zprezto"]
path = .zprezto
url = https://github.com/sorin-ionescu/prezto.git
+[submodule ".vim/bundle/glsl"]
+ path = .vim/bundle/glsl
+ url = git://github.com/vim-scripts/glsl.vim.git
Submodule glsl added at 1af8aa
View
6 .vimrc
@@ -72,16 +72,12 @@ if has("autocmd")
\ exe "normal g`\"" |
\ endif
- augroup END
- augroup Markdown
au BufRead,BufNewFile *.mkd,*.markdown,*.md,*.mkdn setf mkd
- " set ai formatoptions=tcroqn2 comments=n:>
au BufRead,BufNewFile *.mkd,*.markdown,*.md,*.mkdn setlocal spell
- augroup END
- augroup Ruby
au BufRead,BufNewFile Gemfile *.ru *.rb setl tabstop=2 softtabstop=2 shiftwidth=2 expandtab
+ au BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl
augroup END
else

0 comments on commit 2118537

Please sign in to comment.