Slang supports a workspace configuration for things like include paths, preprocessor defines, and target profiles. The plugin could detect a slang.json or .slangconfig in the project root and pass those settings through to slangd, with a :SlangConfig command to open/create one. This would make the plugin behave better in larger projects where the shader root isn't the git root.
Slang supports a workspace configuration for things like include paths, preprocessor defines, and target profiles. The plugin could detect a slang.json or .slangconfig in the project root and pass those settings through to slangd, with a
:SlangConfigcommand to open/create one. This would make the plugin behave better in larger projects where the shader root isn't the git root.