Expand description
Pick the right hover renderer for the token / word run under the cursor.
Functionsยง
- from_
token - Resolve a single (possibly dotted) token against catalog + knowledge.
- from_
window - Try every contiguous 2- or 3-word window inside
window.wordsthat includes the cursor word. Longest wins (IS NOT NULLbeatsIS NULLbeatsIS). Returns the rendered markdown when a multi-word keyword matches. - from_
words - Older single-direction helper kept for tests.
- resolve