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

Ribosome.Api.Syntax

Description

API functions for applying syntax rules to Neovim.

Synopsis

Documentation

executeSyntax :: Member Rpc r => Syntax -> Sem r () Source #

Apply syntax rules to the current window.

executeWindowSyntax :: Member Rpc r => Window -> Syntax -> Sem r () Source #

Apply syntax rules to a window.

syntaxName :: Member Rpc r => Int -> Int -> Sem r (Text, Text) Source #

Get the name of the syntax group at a given position.