tree-sitter and lsp-methods

This commit is contained in:
csh
2025-09-14 12:28:37 +08:00
parent e9972fd869
commit aac12137cb
214 changed files with 350938 additions and 142202 deletions
+5
View File
@@ -54,6 +54,10 @@ namespace lsp::utils
std::exit(1);
}
}
else if (arg == "--stdio")
{
std::cerr << "[TSL-LSP] JosnRPc using stdio" << std::endl;
}
else
{
std::cerr << "[TSL-LSP] Error: Unknown argument: " << arg << std::endl;
@@ -99,6 +103,7 @@ namespace lsp::utils
hardware_threads = 0; // 表示无法检测
std::cout << "TSL Language Server Protocol (LSP) Server\n"
<< "Version: 1.0.0 (" << __DATE__ << " build)\n"
<< "\n"
<< "Usage: " << program_name << " [options]\n"
<< "\n"