lsp

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Note added in v0.5.0

type Note struct {
	core.MinimalNote
	URI protocol.DocumentUri
}

type Server

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

Server holds the state of the Language Server.

func NewServer

func NewServer(opts ServerOpts) *Server

NewServer creates a new Server instance.

func (*Server) Run

func (s *Server) Run() error

Run starts the Language Server in stdio mode.

type ServerOpts

type ServerOpts struct {
	Name           string
	Version        string
	LogFile        opt.String
	Logger         *util.ProxyLogger
	Notebooks      *core.NotebookStore
	TemplateLoader core.TemplateLoader
	FS             core.FileStorage
}

ServerOpts holds the options to create a new Server.

Jump to

Keyboard shortcuts

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