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

Ribosome.Data.FloatOptions

Description

Data types for floating window API codec.

Synopsis

Documentation

data FloatRelative Source #

The reference point to which a floating window's position is defined.

Constructors

Editor 
Win 
Cursor 

data FloatAnchor Source #

The corner of a floating window that is positioned at the specified coordinates.

Constructors

NW 
NE 
SW 
SE 

Instances

Instances details
Show FloatAnchor Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Default FloatAnchor Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Methods

def :: FloatAnchor #

Eq FloatAnchor Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

MsgpackEncode FloatAnchor Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

data FloatBorder Source #

The border style of a floating window.

Constructors

None 
Single 
Double 
Rounded 
Solid 
Shadow 
Manual [Text]

A list of characters that is drawn for the border, starting with the top left corner, going clockwise, repeating if too short.

Instances

Instances details
Generic FloatBorder Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Associated Types

type Rep FloatBorder :: Type -> Type #

Show FloatBorder Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Default FloatBorder Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Methods

def :: FloatBorder #

Eq FloatBorder Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

MsgpackEncode FloatBorder Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

type Rep FloatBorder Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

type Rep FloatBorder = D1 ('MetaData "FloatBorder" "Ribosome.Data.FloatOptions" "ribosome-0.9.9.9-2kHabuyTX5NGSYChGwh5iS" 'False) ((C1 ('MetaCons "None" 'PrefixI 'False) (U1 :: Type -> Type) :+: (C1 ('MetaCons "Single" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Double" 'PrefixI 'False) (U1 :: Type -> Type))) :+: ((C1 ('MetaCons "Rounded" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Solid" 'PrefixI 'False) (U1 :: Type -> Type)) :+: (C1 ('MetaCons "Shadow" 'PrefixI 'False) (U1 :: Type -> Type) :+: C1 ('MetaCons "Manual" 'PrefixI 'False) (S1 ('MetaSel ('Nothing :: Maybe Symbol) 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 [Text])))))

data FloatStyle Source #

Neovim has a style option for floating windows that sets a few options in bulk, with only one possible value.

Constructors

FloatStyleMinimal 

Instances

Instances details
Show FloatStyle Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Default FloatStyle Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Methods

def :: FloatStyle #

Eq FloatStyle Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

MsgpackEncode FloatStyle Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

newtype FloatZindex Source #

The z-index of a floating window, determining occlusion.

Constructors

FloatZindex 

Fields

Instances

Instances details
Enum FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Generic FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Associated Types

type Rep FloatZindex :: Type -> Type #

Num FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Integral FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Real FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Show FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Eq FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Ord FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

MsgpackEncode FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

type Rep FloatZindex Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

type Rep FloatZindex = D1 ('MetaData "FloatZindex" "Ribosome.Data.FloatOptions" "ribosome-0.9.9.9-2kHabuyTX5NGSYChGwh5iS" 'True) (C1 ('MetaCons "FloatZindex" 'PrefixI 'True) (S1 ('MetaSel ('Just "unFloatZindex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int)))

data FloatOptions Source #

The set of options accepted by the float key of the argument to nvim_open_win, configuring the appearance and geometry of a floating window.

Instances

Instances details
Generic FloatOptions Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Associated Types

type Rep FloatOptions :: Type -> Type #

Show FloatOptions Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Default FloatOptions Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

Methods

def :: FloatOptions #

Eq FloatOptions Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

MsgpackEncode FloatOptions Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

type Rep FloatOptions Source # 
Instance details

Defined in Ribosome.Data.FloatOptions

type Rep FloatOptions = D1 ('MetaData "FloatOptions" "Ribosome.Data.FloatOptions" "ribosome-0.9.9.9-2kHabuyTX5NGSYChGwh5iS" 'False) (C1 ('MetaCons "FloatOptions" 'PrefixI 'True) (((S1 ('MetaSel ('Just "relative") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FloatRelative) :*: (S1 ('MetaSel ('Just "width") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "height") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int))) :*: (S1 ('MetaSel ('Just "row") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: (S1 ('MetaSel ('Just "col") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Int) :*: S1 ('MetaSel ('Just "focusable") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)))) :*: ((S1 ('MetaSel ('Just "anchor") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FloatAnchor) :*: (S1 ('MetaSel ('Just "bufpos") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe (Int, Int))) :*: S1 ('MetaSel ('Just "border") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 FloatBorder))) :*: ((S1 ('MetaSel ('Just "noautocmd") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool) :*: S1 ('MetaSel ('Just "enter") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Bool)) :*: (S1 ('MetaSel ('Just "style") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FloatStyle)) :*: S1 ('MetaSel ('Just "zindex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 (Maybe FloatZindex)))))))