Versions in this module Expand all Collapse all v0 v0.4.0 Mar 4, 2022 Changes in this version + type Capability int + const SemanticHighlightingCapability + type LangServer struct + func NewServer(ctx context.Context, cln *client.Client) (*LangServer, error) + func (ls *LangServer) Listen(r io.Reader, w io.WriteCloser) error + type Scope uint16 + const Comment + const Constant + const Function + const Keyword + const Modifier + const Module + const Numeric + const Parameter + const String + const Type + const Variable + func (s Scope) String() string + type TextDocument struct + Err error + Identifier lsp.VersionedTextDocumentIdentifier + Module *ast.Module + func NewTextDocument(ctx context.Context, uri lsp.DocumentURI, r io.Reader, dir ast.Directory) TextDocument