spacemacs/layers/+lang/shaders/README.org

28 lines
922 B
Org Mode
Raw Normal View History

#+TITLE: Shaders layer
2016-10-03 02:38:52 +00:00
[[file:img/shaders.png]]
* Table of Contents :TOC_4_gh:noexport:
- [[#description][Description]]
- [[#install][Install]]
* Description
This layer provides syntax highlighting for shader files. By default it will
provide highlighting for files ending in:
- =.fsh=
- =.vsh=
- =.glsl=
- =.vert=
- =.frag=
- =.geom=
2016-08-27 09:59:52 +00:00
Also this layer provides completion for =.vert=, =.tesc=, =.tese=, =.geom=,
=.frag= and =.comp= shaders via =company-glsl= when [[https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/][=glslangValidator=]] can be
found on your system and =auto-completion= layer is enabled. Note that
completion is [[https://github.com/Kaali/company-glsl][rather simple]].
* Install
To use this configuration layer, add it to your =~.spacemacs=. You will need to
add =shaders= to the existing =dotspacemacs-configuration-layers= list in this
file.