gleamunison/lsp_features

LSP language features: hover, goto-definition, completion. Split from lsp.gleam (protocol core) to keep both modules under the LOC ceiling. The handlers are pure: message + doc store in, reply strings out.

Values

pub fn completion_reply(
  msg: lsp_types.Message,
  state: lsp_types.State,
) -> List(String)
pub fn definition_reply(
  msg: lsp_types.Message,
  state: lsp_types.State,
) -> List(String)
pub fn hover_reply(
  msg: lsp_types.Message,
  state: lsp_types.State,
) -> List(String)
✨ Search Document