Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge definitions from all plugins for Document(Type)Definition messa…
…ge (#3846) * Merge definitions from all plugins for Document(Type)Definition message - enables multiple plugins to provide Document(Type)Definition for the same message * Remove unnecessary head usage in ghcide TestUtils * Use Nothing for original selection when upgrading Location to LocationLink in combineResponses of plugins to TextDocumentDefinition message * Share combineResponses document definition and document type definition tests * Downgrade locations to links when missing client capability in combineResponses (plugin API) - Upgrade locations to links only when necessary (some responses are links) * Test preserving link data in combineResponses of Definition message * Add haddock to mergeDefinitions in plugin API * Replace usage of OverloadedRecordDot with lenses - to support GHC < 9.2 * Add TypeFamilies extension to TypesTests to support GHC < 9.4 * Require focus >= 1.0.3.2 to fix 9.8 build for ghcide and hls-graph --------- Co-authored-by: Michael Peyton Jones <[email protected]>
- Loading branch information