You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use a language server for which I want to disable the most of capabilities (it's too slow on some projects). Currently it does not disable any capability given restricted set of capabilities on initialization.
I noticed that restricting client.resolved_capabilities within on_attach can also prevent from using some method of client but completion is an exception.
Shouldn't source:is_available() return false if self.client.resolved_capabilities.completion is false?
The text was updated successfully, but these errors were encountered:
Thanks, however I've seen before in source:is_available() that overriding server_capabilities.completionProvider can be another workaround (and works).
In general, what is "the proper way" to override the server capabilities (i.e. whether not checking resolved_capabilities.completion is correct)?
I use a language server for which I want to disable the most of capabilities (it's too slow on some projects). Currently it does not disable any capability given restricted set of
capabilities
on initialization.I noticed that restricting
client.resolved_capabilities
withinon_attach
can also prevent from using some method ofclient
butcompletion
is an exception.Shouldn't
source:is_available()
returnfalse
ifself.client.resolved_capabilities.completion
isfalse
?The text was updated successfully, but these errors were encountered: