sway_lsp::capabilities::hover

Function hover_data

Source
pub fn hover_data(
    session: Arc<Session>,
    keyword_docs: &KeywordDocs,
    url: &Url,
    position: Position,
    client_config: LspClient,
) -> Option<Hover>
Expand description

Extracts the hover information for a token at the current position.