Minga.LSP.DocumentContext (Minga v0.1.0)

Copy Markdown View Source

Identifies the exact client-side document representation used for an LSP request.

Buffer revisions and LSP wire versions are independent counters. This value records their relationship without comparing their numbers.

Summary

Types

t()

@type t() :: %Minga.LSP.DocumentContext{
  buffer: pid(),
  buffer_revision: non_neg_integer(),
  client: pid(),
  encoding: Minga.LSP.PositionEncoding.encoding(),
  lsp_version: pos_integer(),
  uri: String.t()
}