View Source GenLSP.Buffer (gen_lsp v0.10.0)

The data buffer between the LSP process and the communication channel.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Starts a GenLSP.Buffer process that is linked to the current process.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Starts a GenLSP.Buffer process that is linked to the current process.

options

Options

  • :communication - A {module, args} tuple, where module implements the GenLSP.Communication.Adapter behaviour. The default value is {GenLSP.Communication.Stdio, []}.

  • :name (atom/0) - Used for name registration as described in the "Name registration" section in the documentation for GenServer.