Skip to content

Eric-Song-Nop/vim-glslx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vim-glslx

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 .glslx extension
  • HTML <script> tags with type set to x-shader-vertex or x-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=glslx

or using modeline in your shader files:

// vim: set ft=glslx:

Installation

Using vim-plug:

Add to your vimrc:

Plug 'Eric-Song-Nop/vim-glslx'

Then reload your vimrc and run :PlugInstall.

About

Vim syntax files for glsl language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 100.0%