aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Tikhomirov <sergey@tikhomirov.io>2017-04-11 23:00:53 +0300
committerSergey Tikhomirov <sergey@tikhomirov.io>2017-04-11 23:00:53 +0300
commit658dc916b0c8d4dbacf82c66e105014cfde70d63 (patch)
treebb0b29b55e5dba0dfe38576d72009866468c0307
parentf2151a570c91ec4fdadfb7eca0ba31b9959235a5 (diff)
downloadvim-glsl-658dc916b0c8d4dbacf82c66e105014cfde70d63.tar.gz
vim-glsl-658dc916b0c8d4dbacf82c66e105014cfde70d63.zip
Update installation instructions
-rw-r--r--README.md30
1 files changed, 25 insertions, 5 deletions
diff --git a/README.md b/README.md
index 3096b9b..9dc58ff 100644
--- a/README.md
+++ b/README.md
@@ -2,8 +2,6 @@
Vim syntax highlighting for OpenGL Shading Language
-This plugin contributes to [vim-polyglot](https://github.com/sheerun/vim-polyglot) language pack.
-
## Supported GLSL Versions
* OpenGL Shading Language 1.10
@@ -21,7 +19,29 @@ This plugin contributes to [vim-polyglot](https://github.com/sheerun/vim-polyglo
## Installation
-Using pathogen:
+#### 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
- $ cd ~/.vim/bundle
- $ git clone https://github.com/tikhomirov/vim-glsl
+Copy all files to your `$HOME/.vim` (`$HOME\vimfiles\` on Windows) directory.