Function get
Source pub fn get(_: ()) -> Option<Selection>
Expand description
Return an owned Selection for the active Visual range.
On any Nvim API error (fetching marks, lines, or text) a notification is emitted and None is returned.
ยงErrors
- Return
None if retrieving either mark fails.
- Return
None if the two marks reference different buffers.
- Return
None if getting lines or text fails.