tower_lsp_macros

Attribute Macro rpc

Source
#[rpc]
Expand description

Macro for generating LSP server implementation from lsp-types.

This procedural macro annotates the tower_lsp::LanguageServer trait and generates a corresponding register_lsp_methods() function which registers all the methods on that trait as RPC handlers.