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

Ribosome.Api.Autocmd

Description

Autocmd functions.

Synopsis

Documentation

doautocmdWith :: Member Rpc r => AutocmdEvents -> Map Text Object -> Sem r () Source #

Trigger a set of autocmds.

Same as nvimExecAutocmds, but specializing the parameter type.

doautocmd :: Member Rpc r => AutocmdEvents -> Sem r () Source #

Trigger a set of autocmds.

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

Trigger a user autocmd.

eventignore :: Members [Rpc, Resource] r => Sem r a -> Sem r a Source #

Execute an action with all autocmds disabled.

bufferAutocmd Source #

Arguments

:: Member Rpc r 
=> Buffer 
-> AutocmdEvents 
-> AutocmdOptions 
-> Text

Command to execute when the autocmd triggers.

-> Sem r AutocmdId 

Create an autocmd in a buffer.

autocmd #

Arguments

:: AutocmdEvents

Trigger events.

-> AutocmdOptions

Options as defined for :autocmd.

-> Text

The command to execute.

-> RpcCall AutocmdId 

Create an autocmd.