diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-20 09:23:27 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2018-12-20 09:23:27 +0000 |
commit | d8c6b8d999079fdd601b07b91fc46f40f17ee4f1 (patch) | |
tree | c93deb29365da5ec2326c3fb570066852c380631 /crates/gen_lsp_server | |
parent | 9a16cf2bf646a4a881f3f5acbf5582dacc4337bf (diff) | |
parent | b2f2621c1717df3141ae292c303896fb427fd2f7 (diff) |
Merge #297
297: Use ContentModified error code r=matklad a=matklad
https://github.com/Microsoft/language-server-protocol/commit/25679c2e4b26cb18af8c943319d40d4f3561a340
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/gen_lsp_server')
-rw-r--r-- | crates/gen_lsp_server/src/msg.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/gen_lsp_server/src/msg.rs b/crates/gen_lsp_server/src/msg.rs index 1e5384380..22d273d55 100644 --- a/crates/gen_lsp_server/src/msg.rs +++ b/crates/gen_lsp_server/src/msg.rs | |||
@@ -55,6 +55,7 @@ pub enum ErrorCode { | |||
55 | ServerNotInitialized = -32002, | 55 | ServerNotInitialized = -32002, |
56 | UnknownErrorCode = -32001, | 56 | UnknownErrorCode = -32001, |
57 | RequestCancelled = -32800, | 57 | RequestCancelled = -32800, |
58 | ContentModified = -32801, | ||
58 | } | 59 | } |
59 | 60 | ||
60 | #[derive(Debug, Serialize, Deserialize, Clone)] | 61 | #[derive(Debug, Serialize, Deserialize, Clone)] |