spacemacs/layers/+lang/shaders/README.org
2016-12-14 20:21:28 +02:00

922 B

Shaders layer

/TakeV/spacemacs/media/commit/48c12d48d0e4e3ace050f9b40a1c7a439a1f5ca5/layers/+lang/shaders/img/shaders.png

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

Also this layer provides completion for .vert, .tesc, .tese, .geom, .frag and .comp shaders via company-glsl when glslangValidator can be found on your system and auto-completion layer is enabled. Note that completion is 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.