buflsp

package
v1.45.0 Latest Latest
Warning

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

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

Documentation

Overview

Package buflsp implements a language server for Protobuf.

The main entry-point of this package is the Serve() function, which creates a new LSP server.

Package buflsp implements a language server for Protobuf.

The main entry-point of this package is the Serve() function, which creates a new LSP server.

Package buflsp implements a language server for Protobuf.

The main entry-point of this package is the Serve() function, which creates a new LSP server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve(
	ctx context.Context,
	container appext.Container,
	controller bufctl.Controller,
	checkClient bufcheck.Client,
	stream jsonrpc2.Stream,
) (jsonrpc2.Conn, error)

Serve spawns a new LSP server, listening on the given stream.

Returns a context for managing the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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