Use a better type for language IDs field (#35566)

Part of the preparation for proto capabilities.

Release Notes:

- N/A
This commit is contained in:
Kirill Bulatov 2025-08-04 10:12:02 +03:00 committed by GitHub
parent 1b3d6139b8
commit 5ca5d90234
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 52 additions and 50 deletions

View file

@ -5069,10 +5069,7 @@ impl LspStore {
local
.language_servers_for_buffer(buffer, cx)
.filter(|(_, server)| {
server
.capabilities()
.linked_editing_range_provider
.is_some()
LinkedEditingRange::check_server_capabilities(server.capabilities())
})
.filter(|(adapter, _)| {
scope