From 470c5a28f5b84353f077c2d871db65cddd5f923a Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 26 Jan 2024 16:30:19 -0800 Subject: 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 --- tools/slangd/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools/slangd/main.cpp') 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); } -- cgit v1.2.3