mirror of
https://github.com/dense-analysis/ale
synced 2024-12-28 00:52:20 +00:00
ff28836616
* Add a glslang linter for GLSL
37 lines
1.5 KiB
Plaintext
37 lines
1.5 KiB
Plaintext
===============================================================================
|
|
ALE GLSL Integration *ale-glsl-options*
|
|
*ale-integration-glsl*
|
|
|
|
===============================================================================
|
|
Integration Information
|
|
|
|
Since Vim does not detect the glsl file types out-of-the-box, you need the
|
|
runtime files for glsl from here: https://github.com/tikhomirov/vim-glsl
|
|
|
|
Note that the current glslang-based linter expects glslangValidator in
|
|
standard paths. If it's not installed system-wide you can set
|
|
|g:ale_glsl_glslang_executable| to a specific path.
|
|
|
|
|
|
===============================================================================
|
|
glslang *ale-glsl-glslang*
|
|
|
|
g:ale_glsl_glslang_executable *g:ale_glsl_glslang_executable*
|
|
*b:ale_glsl_glslang_executable*
|
|
Type: |String|
|
|
Default: `'glslangValidator'`
|
|
|
|
This variable can be changed to change the path to glslangValidator.
|
|
|
|
|
|
g:ale_glsl_glslang_options *g:ale_glsl_glslang_options*
|
|
*b:ale_glsl_glslang_options*
|
|
Type: |String|
|
|
Default: `''`
|
|
|
|
This variable can be set to pass additional options to glslangValidator.
|
|
|
|
|
|
===============================================================================
|
|
vim:tw=78:ts=2:sts=2:sw=2:ft=help:norl:
|