Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to get syntax highlighting for GLSL in Vim

📅 2014-Jul-31 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ glsl, plugin, syntax highlighting, vim ⬩ 📚 Archive

GLSL shaders are typically written in standalone files. To get syntax highlighting for these files in Vim:

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

Tried with: Vim 7.4 and Ubuntu 14.04