make CI green

This commit is contained in:
Dmitry Sharshakov 2021-08-20 16:48:59 +03:00
parent a54b09e3fe
commit c4970c617e
No known key found for this signature in database
GPG key ID: 471FD32E15FD8473
6 changed files with 7 additions and 8 deletions

View file

@ -56,7 +56,7 @@ pub async fn main() -> Result<()> {
"breakpoints: {:#?}", "breakpoints: {:#?}",
client client
.set_breakpoints( .set_breakpoints(
"/tmp/godebug/main.go".to_owned(), "/tmp/godebug/main.go".into(),
vec![SourceBreakpoint { vec![SourceBreakpoint {
line: 8, line: 8,
column: Some(2), column: Some(2),

View file

@ -56,7 +56,7 @@ pub async fn main() -> Result<()> {
"breakpoints: {:#?}", "breakpoints: {:#?}",
client client
.set_breakpoints( .set_breakpoints(
"/tmp/cdebug/main.c".to_owned(), "/tmp/cdebug/main.c".into(),
vec![SourceBreakpoint { vec![SourceBreakpoint {
line: 6, line: 6,
column: Some(2), column: Some(2),

@ -1 +1 @@
Subproject commit 3eb3da67280d8fc32d644c484d05a6ae7f7e4b8f Subproject commit 19c211a01434d9f03efff99f85e19f967591b175

View file

@ -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( pub async fn handle_language_server_message(

View file

@ -1908,7 +1908,7 @@ mod cmd {
) -> anyhow::Result<()> { ) -> anyhow::Result<()> {
use helix_dap::Client; use helix_dap::Client;
use helix_lsp::block_on; use helix_lsp::block_on;
let (_, doc) = current!(cx.editor); let (_, _doc) = current!(cx.editor);
// look up config for filetype // look up config for filetype
// if multiple available, open picker // if multiple available, open picker

View file

@ -465,7 +465,7 @@ impl EditorView {
let selected = cursors.contains(&line); let selected = cursors.contains(&line);
if let Some(breakpoint) = breakpoints.and_then(|breakpoints| { if let Some(_breakpoint) = breakpoints.and_then(|breakpoints| {
breakpoints breakpoints
.iter() .iter()
.find(|breakpoint| breakpoint.line == line) .find(|breakpoint| breakpoint.line == line)