lsp

package
v0.379.1 Latest Latest
Warning

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

Go to latest
Published: Oct 13, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Code generated by 'just lsp-generate'. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LogSink

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

func NewLogSink

func NewLogSink(server *Server) *LogSink

func (*LogSink) Log

func (l *LogSink) Log(entry log.Entry) error

type Server

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

Server is a language server.

func NewServer

func NewServer(ctx context.Context) *Server

NewServer creates a new language server.

func (*Server) OnBuildFailed

func (s *Server) OnBuildFailed(err error)

func (*Server) OnBuildStarted

func (s *Server) OnBuildStarted(module buildengine.Module)

OnBuildStarted clears diagnostics for the given directory. New errors will arrive later if they still exist. Also emit an FTL message to set the status.

func (*Server) OnBuildSuccess

func (s *Server) OnBuildSuccess()

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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