Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- vimFirstLine :: Int64
- vimLastLine :: Int64
- getWindowCursor :: Window -> Neovim env AgdaPos
- getpos :: Buffer -> Char -> Neovim env AgdaPos
- data SearchMode
- searchpos :: Buffer -> [Text] -> SearchMode -> Neovim env AgdaPos
- setWindowCursor :: Window -> AgdaPos -> Neovim env ()
- replaceInterval :: Buffer -> Interval AgdaPos -> Text -> Neovim env ()
- unvimify :: Buffer -> VimPos -> Neovim env AgdaPos
- vimify :: Buffer -> AgdaPos -> Neovim env VimPos
- getIndent :: Buffer -> LineNumber 'ZeroIndexed -> Neovim env Int
- getBufferLine :: Buffer -> LineNumber 'ZeroIndexed -> Neovim env Text
- getBufferInterval :: Buffer -> Interval AgdaPos -> Neovim env Text
- reportError :: Text -> Neovim env ()
- reportInfo :: Text -> Neovim env ()
- setreg :: Text -> Text -> Neovim env ()
- getExtmarkIntervalById :: Int64 -> Buffer -> Extmark -> Neovim env (Maybe AgdaInterval)
- getSurroundingMotion :: Window -> Buffer -> Text -> AgdaPos -> Neovim env (AgdaPos, AgdaPos)
- getLambdaClause :: Window -> Buffer -> AgdaInterval -> Neovim env AgdaInterval
Documentation
vimFirstLine :: Int64 Source #
vimLastLine :: Int64 Source #
getpos :: Buffer -> Char -> Neovim env AgdaPos Source #
TODO(sandy): POSSIBLE BUG HERE. MAKE SURE YOU SET THE CURRENT WINDOW BEFORE CALLING THIS FUNCTION
data SearchMode Source #
Instances
Show SearchMode Source # | |
Defined in Cornelis.Vim showsPrec :: Int -> SearchMode -> ShowS # show :: SearchMode -> String # showList :: [SearchMode] -> ShowS # | |
Eq SearchMode Source # | |
Defined in Cornelis.Vim (==) :: SearchMode -> SearchMode -> Bool # (/=) :: SearchMode -> SearchMode -> Bool # | |
Ord SearchMode Source # | |
Defined in Cornelis.Vim compare :: SearchMode -> SearchMode -> Ordering # (<) :: SearchMode -> SearchMode -> Bool # (<=) :: SearchMode -> SearchMode -> Bool # (>) :: SearchMode -> SearchMode -> Bool # (>=) :: SearchMode -> SearchMode -> Bool # max :: SearchMode -> SearchMode -> SearchMode # min :: SearchMode -> SearchMode -> SearchMode # |
unvimify :: Buffer -> VimPos -> Neovim env AgdaPos Source #
Vim insists on returning byte-based offsets for the cursor positions... why the fuck? This function undoes the problem.
getIndent :: Buffer -> LineNumber 'ZeroIndexed -> Neovim env Int Source #
getBufferLine :: Buffer -> LineNumber 'ZeroIndexed -> Neovim env Text Source #
reportError :: Text -> Neovim env () Source #
reportInfo :: Text -> Neovim env () Source #
getExtmarkIntervalById :: Int64 -> Buffer -> Extmark -> Neovim env (Maybe AgdaInterval) Source #
getSurroundingMotion :: Window -> Buffer -> Text -> AgdaPos -> Neovim env (AgdaPos, AgdaPos) Source #
Awful function that does the motion in visual mode and gives you back
where vim thinks the '<
and '>
marks are.
I'm so sorry.
getLambdaClause :: Window -> Buffer -> AgdaInterval -> Neovim env AgdaInterval Source #
Get an interval to replace for a lambda case split