GenLSP.Buffer (gen_lsp v0.0.5)

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

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

start_link(opts)

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, []}.