disable label details if client only support old lsp (#707)

This commit is contained in:
ryuukk 2022-10-13 10:03:58 +02:00 committed by GitHub
parent 62861193a6
commit cd887838f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -162,7 +162,7 @@ pub const Initialize = struct {
completion: ?struct { completion: ?struct {
completionItem: ?struct { completionItem: ?struct {
snippetSupport: Default(bool, false), snippetSupport: Default(bool, false),
labelDetailsSupport: Default(bool, true), labelDetailsSupport: Default(bool, false),
documentationFormat: MaybeStringArray, documentationFormat: MaybeStringArray,
}, },
}, },