Skip to content

Commit 7206aba

Browse files
committed
new release
1 parent 507659e commit 7206aba

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "lspdock"
3-
version = "0.2.4"
3+
version = "0.2.5"
44
edition = "2024"
55

66
[dependencies]

src/proxy/io.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ use tracing::{Instrument, Level, debug, error, info, span, trace};
1212

1313
use crate::config::ProxyConfig;
1414

15-
const ALL_METHODS: &[&str] = &[
16-
"textDocument/hover",
17-
"textDocument/definition",
18-
"textDocument/declaration",
19-
"textDocument/typeDefinition",
20-
];
2115
const GOTO_METHODS: &[&str] = &[
2216
"textDocument/definition",
2317
"textDocument/declaration",
@@ -174,7 +168,7 @@ where
174168

175169
redirect_uri(&mut msg, &pair, &config_clone)?;
176170
}
177-
tracker_inner.check_for_methods(ALL_METHODS, &mut msg, &pair).await?;
171+
tracker_inner.check_for_methods(GOTO_METHODS, &mut msg, &pair).await?;
178172

179173
send_message(&mut writer, &msg).await.map_err(|e| {
180174
error!("Failed to forward the request: {}", e);

0 commit comments

Comments
 (0)