tree-sitter and lsp-methods
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user