Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Ribosome.Api.Mode
Description
API functions for obtaining Neovim's current mode.
Documentation
data SimpleMode Source #
An encoding of Neovim's mode for only the most basic variants.
Instances
IsString SimpleMode Source # | |
Defined in Ribosome.Api.Mode Methods fromString :: String -> SimpleMode # | |
Show SimpleMode Source # | |
Defined in Ribosome.Api.Mode Methods showsPrec :: Int -> SimpleMode -> ShowS # show :: SimpleMode -> String # showList :: [SimpleMode] -> ShowS # | |
Eq SimpleMode Source # | |
Defined in Ribosome.Api.Mode | |
MsgpackDecode SimpleMode Source # | |
Defined in Ribosome.Api.Mode Methods fromMsgpack :: Object -> Either Text SimpleMode # missingKey :: String -> Object -> Either Text SimpleMode # |
simpleMode :: Member Rpc r => Sem r SimpleMode Source #
Get the current mode as a SimpleMode
.