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

Ribosome.Text

Description

Combinators for Text.

Synopsis

Documentation

escapeQuote :: Char -> Text Source #

Escape a single quote Neovim-style by replacing it with two single quotes.

escapeQuotes :: Text -> Text Source #

Escape all single quotes Neovim-style by replacing them with two single quotes.

capitalize :: Text -> Text Source #

Upcase the first letter of a Text, if any.