Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppendItemsMsg ¶ added in v1.20.6
type AppendItemsMsg struct {
Items []Item
}
AppendItemsMsg appends items to the current completion list without closing the popup. Useful for async loading of completion items.
type Manager ¶
type Manager interface {
layout.Model
GetLayers() []*lipgloss.Layer
Open() bool
// SetEditorBottom sets the height from the bottom of the screen where the editor ends.
// This is used to position the completion popup above the editor.
SetEditorBottom(height int)
}
Manager manages the dialog stack and rendering
type MatchMode ¶ added in v1.18.8
type MatchMode int
MatchMode defines how completion items are filtered
type ReplaceItemsMsg ¶ added in v1.20.6
type ReplaceItemsMsg struct {
Items []Item
}
ReplaceItemsMsg replaces non-pinned items in the completion list. Pinned items (like "Browse files…") are preserved. Useful for full async load that supersedes initial results.
type SelectedMsg ¶
type SelectionChangedMsg ¶ added in v1.18.8
type SelectionChangedMsg struct {
Value string
}
SelectionChangedMsg is sent when the selected item changes (for preview in editor)
type SetLoadingMsg ¶ added in v1.20.6
type SetLoadingMsg struct {
Loading bool
}
SetLoadingMsg sets the loading state for the completion popup.
Click to show internal directories.
Click to hide internal directories.