Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[vim] Add glsl syntax highlighting.

  • Loading branch information...
commit 21185373799196a9c798b8eb71a45667fe975c98 1 parent d0aaeda
Russell Harmon authored November 11, 2012
3  .gitmodules
@@ -25,3 +25,6 @@
25 25
 [submodule ".zprezto"]
26 26
 	path = .zprezto
27 27
 	url = https://github.com/sorin-ionescu/prezto.git
  28
+[submodule ".vim/bundle/glsl"]
  29
+	path = .vim/bundle/glsl
  30
+	url = git://github.com/vim-scripts/glsl.vim.git
1  .vim/bundle/glsl
... ...
@@ -0,0 +1 @@
  1
+Subproject commit 1af8aa50e33766bd558f853ba84f6f076a0ae6fc
6  .vimrc
@@ -72,16 +72,12 @@ if has("autocmd")
72 72
 					\   exe "normal g`\"" |
73 73
 					\ endif
74 74
 
75  
-	augroup END
76 75
 
77  
-	augroup Markdown
78 76
 		au BufRead,BufNewFile *.mkd,*.markdown,*.md,*.mkdn setf mkd
79  
-	"	set ai formatoptions=tcroqn2 comments=n:>
80 77
 		au BufRead,BufNewFile *.mkd,*.markdown,*.md,*.mkdn setlocal spell
81  
-	augroup END
82 78
 
83  
-	augroup Ruby
84 79
 		au BufRead,BufNewFile Gemfile *.ru *.rb setl tabstop=2 softtabstop=2 shiftwidth=2 expandtab
  80
+		au BufNewFile,BufRead *.frag,*.vert,*.fp,*.vp,*.glsl setf glsl
85 81
 	augroup END
86 82
 else
87 83
 

0 notes on commit 2118537

Please sign in to comment.
Something went wrong with that request. Please try again.