-- |API functions for @:undo@. module Ribosome.Api.Undo where import Ribosome.Host.Api.Effect (nvimCommand) import Ribosome.Host.Effect.Rpc (Rpc) -- |Run @:undo@. undo :: Member Rpc r => Sem r () undo :: forall (r :: EffectRow). Member Rpc r => Sem r () undo = Text -> Sem r () forall (r :: EffectRow). Member Rpc r => Text -> Sem r () nvimCommand Text "undo"