OpenGLSL : OpenGL Shading Language syntax script
script karma |
Rating 5/2,
Downloaded by 930 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Adam Butcher |
|
script type |
syntax |
|
description |
A syntax script for builtin functions, uniform variables, constants and types for the OpenGL Shading Language V1.1 (http://www.opengl.org/documentation/oglsl.html)
|
|
install details |
drop gls.vim into your ~/.vim/syntax/ directory and add something like:
autocmd BufNewFile,BufRead *.vp,*.fp,*.vert,*.frag,*.shd,*.gls set filetype=gls cindent comments=sr:/*,mbl:*,ex:*/,://
to your .vimrc
Alternatively install into the $VIMRUNTIME/syntax/ directory and add the above rule to $VIMRUNTIME/filetype.vim. |
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 18.216.94.152
|