Vim syntax highlighting for OpenGL Shading Language
- OpenGL Shading Language: all versions from 1.10 to 4.50
- OpenGL ES Shading Language: versions 1.00 and 3.00
Using Vundle
Add to your vimrc
:
Plugin 'tikhomirov/vim-glsl'
Then reload your vimrc
and run :PluginInstall
.
Using Pathogen
$ cd ~/.vim/bundle
$ git clone https://github.com/tikhomirov/vim-glsl
Then run :Helptags
to generate help tags.
As part of vim-polyglot
This plugin contributes to vim-polyglot language pack. Please refer to its installation instructions for more details.
Copy all files to your $HOME/.vim
($HOME\vimfiles\
on Windows) directory.