It is simply a fork from vim-glsl for glslx highlighting
Vim syntax highlighting for OpenGL Shading Language
glslx synatx highlighting is supported for:
- files with extensions:
.vsh,.tsh,.gsh,.fsh, and.csh - files with
.glslxextension - HTML
<script>tags withtypeset tox-shader-vertexorx-shader-fragment
If you need support highlighting in files with other extensions (e.g. .vs and .fs) you can add it using autocommand:
" in your .vimrc (_vimrc for Windows)
autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glslxor using modeline in your shader files:
// vim: set ft=glslx:
Add to your vimrc:
Plug 'Eric-Song-Nop/vim-glslx'Then reload your vimrc and run :PlugInstall.