fn get_pos(mark: &str) -> Result<Pos>Expand description
Calls Nvim’s getpos() function for the supplied mark identifier and returns a normalized Pos.
On success, converts the raw 1-based tuple into a 0-based Pos.
On failure, emits an error notification via crate::notify::error and wraps the error with
additional context using color_eyre::eyre.
§Errors
- Calling
getpos()fails. - Deserializing the returned tuple into
Posfails.