| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Ribosome.Data.FloatOptions
Description
Data types for floating window API codec.
Synopsis
- data FloatRelative
- data FloatAnchor
- data FloatBorder
- data FloatStyle = FloatStyleMinimal
- newtype FloatZindex = FloatZindex {
- unFloatZindex :: Int
- data FloatOptions = FloatOptions {}
Documentation
data FloatRelative Source #
The reference point to which a floating window's position is defined.
Instances
| Show FloatRelative Source # | |
Defined in Ribosome.Data.FloatOptions Methods showsPrec :: Int -> FloatRelative -> ShowS # show :: FloatRelative -> String # showList :: [FloatRelative] -> ShowS # | |
| Default FloatRelative Source # | |
Defined in Ribosome.Data.FloatOptions Methods def :: FloatRelative # | |
| Eq FloatRelative Source # | |
Defined in Ribosome.Data.FloatOptions Methods (==) :: FloatRelative -> FloatRelative -> Bool # (/=) :: FloatRelative -> FloatRelative -> Bool # | |
| MsgpackEncode FloatRelative Source # | |
Defined in Ribosome.Data.FloatOptions Methods toMsgpack :: FloatRelative -> Object # | |
data FloatAnchor Source #
The corner of a floating window that is positioned at the specified coordinates.
Instances
| Show FloatAnchor Source # | |
Defined in Ribosome.Data.FloatOptions Methods showsPrec :: Int -> FloatAnchor -> ShowS # show :: FloatAnchor -> String # showList :: [FloatAnchor] -> ShowS # | |
| Default FloatAnchor Source # | |
Defined in Ribosome.Data.FloatOptions Methods def :: FloatAnchor # | |
| Eq FloatAnchor Source # | |
Defined in Ribosome.Data.FloatOptions | |
| MsgpackEncode FloatAnchor Source # | |
Defined in Ribosome.Data.FloatOptions Methods toMsgpack :: FloatAnchor -> Object # | |
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
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
| Show FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions Methods showsPrec :: Int -> FloatStyle -> ShowS # show :: FloatStyle -> String # showList :: [FloatStyle] -> ShowS # | |
| Default FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions Methods def :: FloatStyle # | |
| Eq FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions | |
| MsgpackEncode FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions Methods toMsgpack :: FloatStyle -> Object # | |
newtype FloatZindex Source #
The z-index of a floating window, determining occlusion.
Constructors
| FloatZindex | |
Fields
| |
Instances
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.
Constructors
| FloatOptions | |