sponsor Vim development Vim logo Vim Book Ad

glsl : Functionality for editing OpenGL Shading Language (GLSL) in Vim

 script karma  Rating 0/0, Downloaded by 1212  Comments, bugs, improvements  Vim wiki

created by
script type
This package will, in time, provide a complete suite of functionality for editing OpenGL Shading Language (GLSL) code in Vim.

Provided functionality includes:
- syntax highlighting
- automatic indentation
- file type plug-in, setting options such as formatoptions and foldmethod, among others.

More features will follow, such as (but not necessarily limited to) code completion.

I've tested this using Vim 7.4. It should work on some earlier versions, though.

For complete documentation, type ":help glsl" in Vim after installing the plug-in.

The project is hosted at https://github.com/brobeson/glslVim. If you discover a bug, or want to request a feature, please create an issue at https://github.com/brobeson/glslVim/issues.
install details
1) Download the vimball.
2) Open the vimball in Vim.
3) Type the command ":so %".
4) Exit Vim.

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
glsl.vmb 0.3 2015-08-08 7.4 Brendan Add ftplugin with functionality similar to C.
glsl.vmb 0.2 2015-08-07 7.4 Brendan Add automatic indentation when editing GLSL code.
glsl.vmb 0.1 2015-08-07 7.4 Brendan Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.