completions

package
v0.29.2 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewDefaultManager

func NewDefaultManager(ctx context.Context, c *cache.Cache, store storage.Store) *Manager

func NewManager

func NewManager(c *cache.Cache, opts *ManagerOptions) *Manager

func (*Manager) RegisterProvider

func (m *Manager) RegisterProvider(provider Provider)

func (*Manager) Run

type ManagerOptions

type ManagerOptions struct{}

type Provider

type Provider interface {
	Run(context.Context, *cache.Cache, types.CompletionParams, *providers.Options) ([]types.CompletionItem, error)
	Name() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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