export

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Marker

type Marker struct {
	// contains filtered or unexported fields
}

func NewMarker

func NewMarker(keymap *keymap.Keymap) *Marker

func (*Marker) ExportedReport added in v0.8.0

func (m *Marker) ExportedReport() pluginapi.ExportedReport

ExportedReport generates a report of what was requested vs what was exported for each action.

func (*Marker) MarkExported

func (m *Marker) MarkExported(action string, kb keybinding.Keybinding)

MarkExported marks a specific keybinding of an action as exported. Exporter should always call this method for each exported keybinding.

func (*Marker) MarkSkippedForReason

func (m *Marker) MarkSkippedForReason(action string, kb *keybinding.Keybinding, reasonErr error)

MarkSkippedForReason marks an action or a specific keybinding as skipped for a reason. If keybinding is nil, the reason is applied at action level for all unexported keybindings. If not called, any keybinding not marked as exported will be filled with pluginapi.ErrActionNotSupported in SkipReport.

func (*Marker) Report

func (m *Marker) Report() pluginapi.ExportSkipReport

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL