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

Ribosome.Api.Echo

Description

API functions for echoing messages in Neovim.

Synopsis

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.

echo :: Members [Rpc, Reader PluginName] r => Text -> Sem r () Source #

Echo a string prefixed with the plugin name, without adding it to the message history.

echom :: Members [Rpc, Reader PluginName] r => Text -> Sem r () Source #

Echo a string prefixed with the plugin name and add it to the message history.