Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FunctionDescriptor ¶
type Payload ¶
type Payload struct { Function string `json:"function"` Args *json.RawMessage `json:"args"` Env map[string]string `json:"env"` Cwd string `json:"cwd"` Vim *VimInfo `json:"vim"` }
Payload is the data that will be passed down to the plugin
type PluginMetadata ¶
type PluginMetadata struct { Description string `json:"description" yaml:"description"` Functions []FunctionDescriptor `json:"functions" yaml:"functions"` Author string `json:"author" yaml:"author"` Version string `json:"version" yaml:"version"` }
type PluginStartData ¶
type PluginStartData struct { // Metadata about the plugin that just was // loaded Metadata PluginMetadata }
Contains registration data like the functions that the plugin maps to
type PowerlineReturn ¶
type PowerlineReturn struct { Content string `json:"contents,omitempty"` HighlightGroup []string `json:"highlight_groups,omitempty"` DrawInnerDivider bool `json:"draw_inner_divider,omitempty"` DrawSoftDivider bool `json:"draw_soft_divider,omitempty"` DrawHardDivider bool `json:"draw_hard_divider,omitempty"` DividerHighlightGroup string `json:"divider_highlight_group,omitempty"` }
This represents the object powerline will read as the segment data (for one segment) Taken from https://powerline.readthedocs.io/en/master/develop/segments.html
type ServerVersionInfo ¶
type ServerVersionInfo struct { Version string `json:"version" yaml:"version"` BuildHost string `json:"build_host" yaml:"build_host"` BuildTime string `json:"build_date" yaml:"build_time"` GitHash string `json:"git_hash" yaml:"git_hash"` Architecture string `json:"architecture" yaml:"architecture"` OperatingSystem string `json:"operating_system" yaml:"operating_system"` }
ServerVersioInfo contains various infos about the server such as build version, date, arch and OS
Click to show internal directories.
Click to hide internal directories.