aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 9dc58ffa25ad605f98198dd43d6eff8b5a6a2605 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# vim-glsl

Vim syntax highlighting for OpenGL Shading Language

## Supported GLSL Versions

* OpenGL Shading Language 1.10
* OpenGL Shading Language 1.20
* OpenGL Shading Language 1.30
* OpenGL Shading Language 1.40
* OpenGL Shading Language 1.50
* OpenGL Shading Language 3.30
* OpenGL Shading Language 4.00
* OpenGL Shading Language 4.10
* OpenGL Shading Language 4.20
* OpenGL Shading Language 4.30
* OpenGL ES Shading Language 1.00
* OpenGL ES Shading Language 3.00

## Installation

#### Using [Vundle](https://github.com/gmarik/vundle)

Add to your `vimrc`:

```
Plugin 'tikhomirov/vim-glsl'
```

Then reload your `vimrc` and run `:PluginInstall`.

#### Using [Pathogen](https://github.com/tpope/vim-pathogen)

```
$ cd ~/.vim/bundle
$ git clone https://github.com/tikhomirov/vim-glsl
```

Then run `:Helptags` to generate help tags.

#### As part of [vim-polyglot](https://github.com/sheerun/vim-polyglot)

This plugin contributes to [vim-polyglot](https://github.com/sheerun/vim-polyglot) language pack. Please refer to its [installation instructions](https://github.com/sheerun/vim-polyglot#installation) for more details.

#### Manual

Copy all files to your `$HOME/.vim` (`$HOME\vimfiles\` on Windows) directory.