diff options
| author | Yong He <yonghe@outlook.com> | 2024-01-26 16:30:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-26 16:30:19 -0800 |
| commit | 470c5a28f5b84353f077c2d871db65cddd5f923a (patch) | |
| tree | e970a1c44173673bdc6dd5ec22e6b0c5bde93787 /tools/slangd/main.cpp | |
| parent | 013bcf28da22fd569154bd9f98368e670fbeb873 (diff) | |
Fix LSP compatibility issues with Visual Studio. (#3520)
* [LSP] compatibility logic for Visual Studio.
* [LSP] Fix diagnostic rank parsing.
* [LSP] Fix semantic highlighting of cbuffer types.
* Fix.
* Fix.
---------
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/slangd/main.cpp')
| -rw-r--r-- | tools/slangd/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/slangd/main.cpp b/tools/slangd/main.cpp index 4e3bfd029..7727ec135 100644 --- a/tools/slangd/main.cpp +++ b/tools/slangd/main.cpp @@ -21,5 +21,7 @@ int main(int argc, const char* const* argv) { std::this_thread::sleep_for(std::chrono::seconds(10)); } - return Slang::runLanguageServer(); + Slang::LanguageServerStartupOptions options; + options.parse(argc, argv); + return Slang::runLanguageServer(options); } |
