Documentation ¶
Index ¶
- type Config
- type Formatter
- type LSP
- func (l *LSP) CloseFile(ctx context.Context, data protocol.DidCloseTextDocumentParams) error
- func (l *LSP) Format(ctx context.Context, params protocol.DocumentFormattingParams, ...)
- func (l *LSP) Goto(ctx context.Context, params protocol.DefinitionParams, reply jsonrpc2.Replier)
- func (l *LSP) Handle(ctx context.Context, reply jsonrpc2.Replier, r jsonrpc2.Request) error
- func (l *LSP) Load(ctx context.Context) error
- func (l *LSP) OpenFile(ctx context.Context, data protocol.DidOpenTextDocumentParams) error
- func (l *LSP) UpdateFile(ctx context.Context, data protocol.DidChangeTextDocumentParams) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶ added in v0.1.3
Formatter is a struct that holds the state of the formatter. A new formatter should be initialized when using different config.
Click to show internal directories.
Click to hide internal directories.