forked from OSchip/llvm-project
[clangd] Add ) to signature-help triggers
It is important for nested function calls. Differential Revision: https://reviews.llvm.org/D115799
This commit is contained in:
parent
dc7b672f96
commit
517f1d9e5c
|
@ -555,7 +555,7 @@ void ClangdLSPServer::onInitialize(const InitializeParams &Params,
|
|||
}},
|
||||
{"signatureHelpProvider",
|
||||
llvm::json::Object{
|
||||
{"triggerCharacters", {"(", ","}},
|
||||
{"triggerCharacters", {"(", ",", ")"}},
|
||||
}},
|
||||
{"declarationProvider", true},
|
||||
{"definitionProvider", true},
|
||||
|
|
|
@ -107,7 +107,8 @@
|
|||
# CHECK-NEXT: "signatureHelpProvider": {
|
||||
# CHECK-NEXT: "triggerCharacters": [
|
||||
# CHECK-NEXT: "(",
|
||||
# CHECK-NEXT: ","
|
||||
# CHECK-NEXT: ",",
|
||||
# CHECK-NEXT: ")"
|
||||
# CHECK-NEXT: ]
|
||||
# CHECK-NEXT: },
|
||||
# CHECK-NEXT: "textDocumentSync": {
|
||||
|
|
Loading…
Reference in New Issue