ribosome-0.9.9.9: Neovim plugin framework for Polysemy
Safe HaskellSafe-Inferred
LanguageHaskell2010

Ribosome.Api.Position

Description

API functions for getpos.

Synopsis

Documentation

getposCall :: Text -> RpcCall (Int, Int, Int, Int) Source #

RpcCall for the function getpos that returns a 4-tuple.

getpos :: Member Rpc r => Text -> Sem r (Int, Int, Int, Int) Source #

Call the function getpos and return a 4-tuple.

visualPos :: Member Rpc r => Sem r ((Int, Int), (Int, Int)) Source #

Return the start and end coordinates of visual mode.