This extension provides LSP and syntax highlighting for the Slang shading language in the Zed editor.
Currently, this extension requires slangd to be installed and available in your PATH. The easiest way to do this is by installing the LunarG Vulkan SDK.
Example:
{
"lsp": {
"slangd": {
"settings": {
"slang.additionalSearchPaths": ["./resources/shaders", "C:\\some\\library"]
}
}
}
}
For more configuration keys, refer to the Slang VSCode extension
Formatting uses the .clang-format file in the root of the project. (see https://clang.llvm.org/docs/ClangFormatStyleOptions.html)