diff options
author | Norbert Preining <norbert@preining.info> | 2020-05-28 03:03:21 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-05-28 03:03:21 +0000 |
commit | 745892fbddea56040139108277e728b53fd8fc11 (patch) | |
tree | 15e55e299b38fccdabce8364f1fbf4f02ef37994 /support/texlab/src/client.rs | |
parent | 195ca7e0c377d83455867bdd8e409d4e1cf024ea (diff) |
CTAN sync 202005280303
Diffstat (limited to 'support/texlab/src/client.rs')
-rw-r--r-- | support/texlab/src/client.rs | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/support/texlab/src/client.rs b/support/texlab/src/client.rs deleted file mode 100644 index bed6c3b8c8..0000000000 --- a/support/texlab/src/client.rs +++ /dev/null @@ -1,35 +0,0 @@ -use futures_boxed::boxed; -use jsonrpc::client::Result; -use jsonrpc_derive::{jsonrpc_client, jsonrpc_method}; -use lsp_types::*; - -#[jsonrpc_client(LatexLspClient)] -pub trait LspClient { - #[jsonrpc_method("workspace/configuration", kind = "request")] - #[boxed] - async fn configuration(&self, params: ConfigurationParams) -> Result<serde_json::Value>; - - #[jsonrpc_method("window/showMessage", kind = "notification")] - #[boxed] - async fn show_message(&self, params: ShowMessageParams); - - #[jsonrpc_method("client/registerCapability", kind = "request")] - #[boxed] - async fn register_capability(&self, params: RegistrationParams) -> Result<()>; - - #[jsonrpc_method("textDocument/publishDiagnostics", kind = "notification")] - #[boxed] - async fn publish_diagnostics(&self, params: PublishDiagnosticsParams); - - #[jsonrpc_method("$/progress", kind = "notification")] - #[boxed] - async fn progress(&self, params: ProgressParams); - - #[jsonrpc_method("window/workDoneProgress/create", kind = "request")] - #[boxed] - async fn work_done_progress_create(&self, params: WorkDoneProgressCreateParams) -> Result<()>; - - #[jsonrpc_method("window/logMessage", kind = "notification")] - #[boxed] - async fn log_message(&self, params: LogMessageParams); -} |