Skip to content

Commit

Permalink
Fix bug in lsp did_change (#434)
Browse files Browse the repository at this point in the history
  • Loading branch information
timsueberkrueb authored Jan 8, 2025
1 parent d96b03a commit bcbc433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang/lsp/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ impl LanguageServer for Server {

let res = match res {
Ok(()) => db.ast(&text_document.uri.from_lsp()).await.map(|_| ()),
Err(_) => Ok(()),
Err(err) => Err(err),
};

let diags = db.diagnostics(&text_document.uri.from_lsp(), res);
Expand Down

0 comments on commit bcbc433

Please sign in to comment.