View Source GenLSP.LSP (gen_lsp v0.11.0)

Link to this section Summary

Link to this section Types

@type t() :: %GenLSP.LSP{
  assigns: (atom() | pid()) | nil,
  buffer: (atom() | pid()) | nil,
  mod: atom(),
  pid: pid() | nil,
  task_supervisor: (atom() | pid()) | nil,
  tasks: %{required(integer()) => pid()} | nil
}

Link to this section Functions

The LSP data structure.

Link to this function

assign(lsp, new_assigns)

View Source
@spec assign(t(), Keyword.t() | (map() -> keyword())) :: t()
@spec assigns(t()) :: map()