spacemacs/layers/+lang/shaders
2016-12-14 20:21:28 +02:00
..
img shaders: fix readme and add an image 2016-10-03 00:23:15 -04:00
config.el add glsl-company to shaders layer 2016-12-14 20:21:28 +02:00
packages.el add glsl-company to shaders layer 2016-12-14 20:21:28 +02:00
README.org add glsl-company to shaders layer 2016-12-14 20:21:28 +02:00

Shaders layer

/TakeV/spacemacs/media/commit/b67118c8ca7e1a9e8c0d3b78d9cef44e9b174533/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.