GenLSP behaviour (gen_lsp v0.0.1)

Link to this section Summary

Link to this section Callbacks

Link to this callback

handle_info(message, state)

@callback handle_info(message :: any(), state) :: {:noreply, state} when state: any()
Link to this callback

handle_notification(notification, state)

@callback handle_notification(notification :: term(), state) :: {:noreply, state}
when state: any()
Link to this callback

handle_request(request, state)

@callback handle_request(request :: term(), state) ::
  {:reply, id :: integer(), reply :: term(), state} | {:noreply, state}
when state: any()
@callback init(init_arg :: term()) :: {:ok, state} when state: any()

Link to this section Functions

Link to this function

log(level, message)

Link to this function

notify(notification)

Link to this function

notify_server(lsp, notification)

Link to this function

request_server(lsp, request)

Link to this function

start_link(module, init_args, opts)