This commit is contained in:
Lukas Wirth
2021-06-24 01:32:56 +02:00
parent 511ae17d07
commit 066bc4f3a4
3 changed files with 24 additions and 28 deletions

View File

@@ -1174,7 +1174,7 @@ pub(crate) fn handle_document_highlight(
};
let res = refs
.into_iter()
.map(|ide::DocumentHighlight { range, access }| lsp_types::DocumentHighlight {
.map(|ide::HighlightedRange { range, access }| lsp_types::DocumentHighlight {
range: to_proto::range(&line_index, range),
kind: access.map(to_proto::document_highlight_kind),
})