Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Autocmd functions.
Synopsis
- doautocmdWith :: Member Rpc r => AutocmdEvents -> Map Text Object -> Sem r ()
- doautocmd :: Member Rpc r => AutocmdEvents -> Sem r ()
- uautocmd :: Member Rpc r => Text -> Sem r ()
- eventignore :: Members [Rpc, Resource] r => Sem r a -> Sem r a
- bufferAutocmd :: Member Rpc r => Buffer -> AutocmdEvents -> AutocmdOptions -> Text -> Sem r AutocmdId
- autocmd :: AutocmdEvents -> AutocmdOptions -> Text -> RpcCall AutocmdId
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.
eventignore :: Members [Rpc, Resource] r => Sem r a -> Sem r a Source #
Execute an action with all autocmds disabled.
:: Member Rpc r | |
=> Buffer | |
-> AutocmdEvents | |
-> AutocmdOptions | |
-> Text | Command to execute when the autocmd triggers. |
-> Sem r AutocmdId |
Create an autocmd in a buffer.
:: AutocmdEvents | Trigger events. |
-> AutocmdOptions | Options as defined for |
-> Text | The command to execute. |
-> RpcCall AutocmdId |
Create an autocmd.