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

Ribosome.Data.Syntax

Description

Data types for the Neovim syntax API.

Synopsis

Documentation

data SyntaxItem Source #

A syntax item like keyword or match, bundled with options for the :syntax command.

Instances

Instances details
Show SyntaxItem Source # 
Instance details

Defined in Ribosome.Data.Syntax

Eq SyntaxItem Source # 
Instance details

Defined in Ribosome.Data.Syntax

data Highlight Source #

Options for a highlight group.

Constructors

Highlight 

Fields

Instances

Instances details
Show Highlight Source # 
Instance details

Defined in Ribosome.Data.Syntax

Eq Highlight Source # 
Instance details

Defined in Ribosome.Data.Syntax

data HiLink Source #

Options for a :highlight link command.

Constructors

HiLink 

Fields

Instances

data Syntax Source #

A set of syntax settings, consisting of syntax items like keyword and match, highlights and highlight links.

Instances

Instances details
Generic Syntax Source # 
Instance details

Defined in Ribosome.Data.Syntax

Associated Types

type Rep Syntax :: Type -> Type #

Methods

from :: Syntax -> Rep Syntax x #

to :: Rep Syntax x -> Syntax #

Show Syntax Source # 
Instance details

Defined in Ribosome.Data.Syntax

Default Syntax Source # 
Instance details

Defined in Ribosome.Data.Syntax

Methods

def :: Syntax #

Eq Syntax Source # 
Instance details

Defined in Ribosome.Data.Syntax

Methods

(==) :: Syntax -> Syntax -> Bool #

(/=) :: Syntax -> Syntax -> Bool #

type Rep Syntax Source # 
Instance details

Defined in Ribosome.Data.Syntax

type Rep Syntax = D1 ('MetaData "Syntax" "Ribosome.Data.Syntax" "ribosome-0.9.9.9-9qviHqnn5IlBIAvGWfH18d" 'False) (C1 ('MetaCons "Syntax" 'PrefixI 'True) (S1 ('MetaSel ('Just "syntaxItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [SyntaxItem]) :*: (S1 ('MetaSel ('Just "syntaxHighlights") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Highlight]) :*: S1 ('MetaSel ('Just "syntaxHiLinks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [HiLink]))))