Closed rchl closed 1 year ago
It should be declaring capabilities.selectionRangeProvider
as false
in this case. Do you have a trace of the response to the initialize
request that you could post?
I'm sorry, you are right. I had both intelephense and https://github.com/sublimelsp/LSP-html running at the same time in php file and it was the latter that provided silly range.
Since intelephense only supports expanding selection range in registered version, it shouldn't advertise support for it in non-registered versions since it makes experience worse because editor won't fall back to native selection expand in that case and the server provided one doesn't make sense.