Language server implementation for GLSL
Currently this LSP implementation can be interfaced with using either HTTP or stdio.
- Diagnostics
- Completion
- Hover
- Jump to def
- Workspace symbols
- Find references
git submodule update --init
cmake -Bbuild -GNinja
ninja -Cbuild
You can also use the Makefile
in the project root which is provided for convenience.
ninja -Cbuild install
You can run glslls
to use a HTTP server to handle IO. Alternatively, run
glslls --stdin
to handle IO on stdin.
The following are examples of how to run glslls
from various editors that support LSP.
lsp-mode has this language server integrated into the core. This assumes you have glsl-mode installed. See the lsp-mode's GLSL for more details.
lspconfig offers a ready-to-go configuration:
require'lspconfig'.glslls.setup{}