From 3640f899f10a1151e5870387c90e427edebb02f8 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Sat, 9 Nov 2024 23:10:54 -0800 Subject: [PATCH] textDocument/signatureHelp: add trigger character { to enable https://reviews.llvm.org/D116317 --- src/messages/initialize.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/initialize.cc b/src/messages/initialize.cc index 8b641388..24081b42 100644 --- a/src/messages/initialize.cc +++ b/src/messages/initialize.cc @@ -103,7 +103,7 @@ struct ServerCap { "<", "\"", "/"}; } completionProvider; struct SignatureHelpOptions { - std::vector triggerCharacters = {"(", ","}; + std::vector triggerCharacters = {"(", "{", ","}; } signatureHelpProvider; bool declarationProvider = true; bool definitionProvider = true;