Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Completer ¶
type Completer struct {
// contains filtered or unexported fields
}
Completer struct for tab completion
func NewCompleter ¶
NewCompleter creates a new Completer with given client
func (*Completer) Complete ¶
func (c *Completer) Complete(in prompt.Document) (result []prompt.Suggest)
Complete suggestions for completion
func (*Completer) PromptPrefix ¶
PromptPrefix returns the currently active prompt prefix
func (*Completer) TogglePathCompletion ¶ added in v0.7.0
func (c *Completer) TogglePathCompletion()
TogglePathCompletion enable/disable path auto-completion
Click to show internal directories.
Click to hide internal directories.