Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
API functions for Neovim options.
Documentation
optionCat :: Member Rpc r => Text -> Text -> Sem r () Source #
Append a string to a comma-separated option.
optionList :: Member Rpc r => Text -> Sem r [Text] Source #
Get a list of strings from a comma-separated option.
withOption :: forall a r b. Members [Rpc, Resource] r => MsgpackEncode a => Text -> a -> Sem r b -> Sem r b Source #
Run an action with an option temporarily set to a value, then restore the old value.