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

Ribosome.Api.Option

Description

API functions for Neovim options.

Synopsis

Documentation

optionCat :: Member Rpc r => Text -> Text -> Sem r () Source #

Append a string to a comma-separated option.

rtpCat :: Member Rpc r => Text -> Sem r () Source #

Append a string to the option runtimepath.

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.