BrutPitt / glslCodeLite_lexers

Syntax highlighter lexer for GLSL (OpenGL Shading Language) to use with CodeLite cross platform IDE

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

glslCodeLite_lexers

Is a syntax highlighter lexer for GLSL (OpenGL Shading Language) to use with/in CodeLite cross platform IDE.

It covers until ver. 4.6 of GLSL and adds syntax highlighting to following file extensions:

  • .glsl → generic shader
  • .vert → vertex shader
  • .frag → fragment shader
  • .geom → geometry shader
  • .tesc → tessellation control shader
  • .tese → tessellation evaluation shader
  • .comp → compute shader
  • .vs → vertex shader
  • .fs → fragment shader
  • .gs → geometry shader
  • .ts → generic tessellation shader

An Obsidian theme example, in ScreenShot, but syntax highlight is provided for all CodeLite themes

*Tested in CodeLite 14.0

How to Use

To use it, just add the glslCodeLite_lexers.json file content to lexers.json file in your config CodeLite folder, following/paying attention to json syntax:

Windows: {user}\AppData\Roaming\codelite\lexers\lexers.json

Linux: ~/.codelite/lexers/lexers.json

About

Syntax highlighter lexer for GLSL (OpenGL Shading Language) to use with CodeLite cross platform IDE

License:BSD 2-Clause "Simplified" License