summaryrefslogtreecommitdiff
path: root/helix-term/src
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-20 13:48:59 +0000
committerDmitry Sharshakov2021-08-20 13:48:59 +0000
commitc4970c617ed5f03dadce2a284b66539bf0ce3054 (patch)
tree7565b51c56e3a6ccb7e0700e2fa3859e263bdd3b /helix-term/src
parenta54b09e3fe6eaf72ab7a4f3664efc0b8b7cf13fd (diff)
make CI green
Diffstat (limited to 'helix-term/src')
-rw-r--r--helix-term/src/application.rs5
-rw-r--r--helix-term/src/commands.rs2
-rw-r--r--helix-term/src/ui/editor.rs2
3 files changed, 4 insertions, 5 deletions
diff --git a/helix-term/src/application.rs b/helix-term/src/application.rs
index 42b9bcde..011dafee 100644
--- a/helix-term/src/application.rs
+++ b/helix-term/src/application.rs
@@ -245,9 +245,8 @@ impl Application {
}
}
- pub async fn handle_debugger_message(&mut self, call: ()) {
-
- //
+ pub async fn handle_debugger_message(&mut self, _call: ()) {
+ // TODO
}
pub async fn handle_language_server_message(
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 012e0c7d..74b272c6 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1908,7 +1908,7 @@ mod cmd {
) -> anyhow::Result<()> {
use helix_dap::Client;
use helix_lsp::block_on;
- let (_, doc) = current!(cx.editor);
+ let (_, _doc) = current!(cx.editor);
// look up config for filetype
// if multiple available, open picker
diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs
index 074f322e..20f6fdc7 100644
--- a/helix-term/src/ui/editor.rs
+++ b/helix-term/src/ui/editor.rs
@@ -465,7 +465,7 @@ impl EditorView {
let selected = cursors.contains(&line);
- if let Some(breakpoint) = breakpoints.and_then(|breakpoints| {
+ if let Some(_breakpoint) = breakpoints.and_then(|breakpoints| {
breakpoints
.iter()
.find(|breakpoint| breakpoint.line == line)