[−][src]Function slide_ls::services::highlight::get_semantic_highlights
pub(crate) fn get_semantic_highlights(
position: Position,
program_info: &ProgramInfo
) -> Option<Vec<DocumentHighlight>>
Returns semantic highlighting ranges relevant to a position in a document. If the position is over an identifier (variable), all references to that variable are returned. Otherwise, nothing is returned.