Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
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 showsPrec :: Int -> FloatRelative -> ShowS # show :: FloatRelative -> String # showList :: [FloatRelative] -> ShowS # | |
Default FloatRelative Source # | |
Defined in Ribosome.Data.FloatOptions def :: FloatRelative # | |
Eq FloatRelative Source # | |
Defined in Ribosome.Data.FloatOptions (==) :: FloatRelative -> FloatRelative -> Bool # (/=) :: FloatRelative -> FloatRelative -> Bool # | |
MsgpackEncode FloatRelative Source # | |
Defined in Ribosome.Data.FloatOptions 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 showsPrec :: Int -> FloatAnchor -> ShowS # show :: FloatAnchor -> String # showList :: [FloatAnchor] -> ShowS # | |
Default FloatAnchor Source # | |
Defined in Ribosome.Data.FloatOptions def :: FloatAnchor # | |
Eq FloatAnchor Source # | |
Defined in Ribosome.Data.FloatOptions (==) :: FloatAnchor -> FloatAnchor -> Bool # (/=) :: FloatAnchor -> FloatAnchor -> Bool # | |
MsgpackEncode FloatAnchor Source # | |
Defined in Ribosome.Data.FloatOptions toMsgpack :: FloatAnchor -> Object # |
data FloatBorder Source #
The border style of a floating window.
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.
Instances
Show FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions showsPrec :: Int -> FloatStyle -> ShowS # show :: FloatStyle -> String # showList :: [FloatStyle] -> ShowS # | |
Default FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions def :: FloatStyle # | |
Eq FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions (==) :: FloatStyle -> FloatStyle -> Bool # (/=) :: FloatStyle -> FloatStyle -> Bool # | |
MsgpackEncode FloatStyle Source # | |
Defined in Ribosome.Data.FloatOptions toMsgpack :: FloatStyle -> Object # |
newtype FloatZindex Source #
The z-index of a floating window, determining occlusion.
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.