pub fn word_under_cursor(buffer: &Buffer, cursor: Position) -> Option<String>Expand description
5.5.LSP.2: extract the word-class span straddling cursor on
the cursor’s line. Returns None when the cursor is not on a
word character – “no symbol under cursor” is preferable to a
label that jumps to a different identifier than the user
pointed at. Used by the LSP nav / references dispatchers to
label the tag-stack entry + the picker title.