Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 fromString :: String -> SimpleMode # | |
Show SimpleMode Source # | |
Defined in Ribosome.Api.Mode showsPrec :: Int -> SimpleMode -> ShowS # show :: SimpleMode -> String # showList :: [SimpleMode] -> ShowS # | |
Eq SimpleMode Source # | |
Defined in Ribosome.Api.Mode (==) :: SimpleMode -> SimpleMode -> Bool # (/=) :: SimpleMode -> SimpleMode -> Bool # | |
MsgpackDecode SimpleMode Source # | |
Defined in Ribosome.Api.Mode 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
.