Skip to content

Commit 36c20dc

Browse files
committed
Return ServerNotInitialized according to the spec
According to the spec we should return ServerNotInitialized if the server is waiting for an initialize request and something else comes in. Upgrading to lsp-server 0.5.1 will do this and retry until the initialize request comes in. Fixes #8581
1 parent 4af50de commit 36c20dc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/rust-analyzer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ serde_path_to_error = "0.1"
3333
threadpool = "1.7.1"
3434
rayon = "1.5"
3535
mimalloc = { version = "0.1.19", default-features = false, optional = true }
36-
lsp-server = "0.5.0"
36+
lsp-server = "0.5.1"
3737
tracing = "0.1"
3838
tracing-subscriber = { version = "0.2", default-features = false, features = ["env-filter", "registry"] }
3939
tracing-tree = { version = "0.1.4" }

0 commit comments

Comments
 (0)