diff options
author | Philipp Mildenberger | 2023-03-20 16:44:04 +0000 |
---|---|---|
committer | Philipp Mildenberger | 2023-05-18 19:58:17 +0000 |
commit | ff262084271492bba239dbc2e5788be3c4d5a4e5 (patch) | |
tree | 0c668cc05e1757377fa3cd418921c9ee575da350 /helix-loader/Cargo.toml | |
parent | 9d089c27c77cb2797a0495b46477dfe348d09a91 (diff) |
Filter language servers also by capabilities in `doc.language_servers_with_feature`
* Add `helix_lsp::client::Client::supports_feature(&self, LanguageServerFeature)`
* Extend `doc.language_servers_with_feature` to use this method as filter as well
* Add macro `language_server_with_feature!` to reduce boilerplate for non-mergeable language server requests (like goto-definition)
* Refactored most of the `find_map` code to use the either the macro or filter directly via `doc.language_servers_with_feature`
Diffstat (limited to 'helix-loader/Cargo.toml')
0 files changed, 0 insertions, 0 deletions