Skip to content
GLSL company-mode package
Emacs Lisp
Branch: master
Clone or download
Väinö Järvelä
Latest commit 404cd06 Jan 11, 2015
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE Initial import Jan 11, 2015
README.md Added a copy-paste README from .el Jan 11, 2015
company-glsl.el

README.md

Provides glsl completion by using glslangValidator. glslangValidator can be found from: https://www.khronos.org/opengles/sdk/tools/Reference-Compiler/

To use this package with company-mode run; (add-to-list 'company-backends 'company-glsl)

To use this package, you must be in glsl major mode. But it doesn't require any functionality from there yet.

This package is still quite incomplete, but it does basic symbol completion. It finds all the symbols that are referenced in the code or references by the linker. It can also reference function names, but at the moment no other information is retained.

There is also no scoping, so completion candidates includes all symbols, even if they are not available in the current scope. Even any function parameters are seen as candidates in all other functions.

You can’t perform that action at this time.