get

Function get 

Source
pub fn get(_: ()) -> Option<TokenUnderCursor>
Expand description

Retrieve and classify the non-whitespace token under the cursor in the current window.

Returns Option::None if the current line or cursor position cannot be obtained, or if the cursor is on whitespace. On errors a notification is emitted to Nvim. On success returns a classified TokenUnderCursor.