Rename 'document_highlight' to 'highlight_related'
This commit is contained in:
@@ -1168,7 +1168,7 @@ pub(crate) fn handle_document_highlight(
|
||||
let position = from_proto::file_position(&snap, params.text_document_position_params)?;
|
||||
let line_index = snap.file_line_index(position.file_id)?;
|
||||
|
||||
let refs = match snap.analysis.highlight_document(position)? {
|
||||
let refs = match snap.analysis.highlight_related(position)? {
|
||||
None => return Ok(None),
|
||||
Some(refs) => refs,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user