remove invalid codeLensProvider value from lsp

codeLensProvider was false, it may not be a boolean like some of the other providers can, only optionally present.
This commit is contained in:
Taylor C. Richberger 2020-07-11 00:57:32 -06:00 committed by GitHub
parent d0cea291d2
commit 91ce8d5fff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1661,7 +1661,7 @@ struct ServerCapabilities {
signatureHelpProvider.triggerCharacters.push_back(",");
signatureHelpProvider.triggerCharacters.push_back("(");
dict["signatureHelpProvider"] = signatureHelpProvider.to_json();
dict["codeLensProvider"] = false; // codeLensProvider.to_json();
//dict["codeLensProvider"] = codeLensProvider.to_json();
dict["documentOnTypeFormattingProvider"] = documentOnTypeFormattingProvider.to_json();
dict["renameProvider"] = renameProvider.to_json();
dict["documentLinkProvider"] = documentLinkProvider.to_json();