Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
API functions for echoing messages in Neovim.
Synopsis
- simpleEcho :: Member Rpc r => Bool -> Text -> Sem r ()
- prefixedEcho :: Members [Rpc, Reader PluginName] r => Bool -> Text -> Sem r ()
- echohl :: Member Rpc r => Bool -> Text -> Text -> Sem r ()
- echo :: Members [Rpc, Reader PluginName] r => Text -> Sem r ()
- echom :: Members [Rpc, Reader PluginName] r => Text -> Sem r ()
Documentation
simpleEcho :: Member Rpc r => Bool -> Text -> Sem r () Source #
Echo a string, adding it to the message history if the first argument is True
.
prefixedEcho :: Members [Rpc, Reader PluginName] r => Bool -> Text -> Sem r () Source #
Echo a string prefixed with the plugin name, adding it to the message history if the first argument is True
.
echohl :: Member Rpc r => Bool -> Text -> Text -> Sem r () Source #
Echo a string with a highlight group.