Skip to content

Commit da9007f

Browse files
committed
fix empty workspace status bar keep
1 parent 70bbdb1 commit da9007f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

crates/emmylua_ls/src/context/file_diagnostic.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ impl FileDiagnostic {
218218

219219
let (tx, mut rx) = tokio::sync::mpsc::channel::<Option<(Vec<Diagnostic>, Uri)>>(100);
220220
let valid_file_count = main_workspace_file_ids.len();
221-
if valid_file_count == 0 {
222-
return result;
223-
}
224221

225222
let analysis = self.analysis.clone();
226223
for file_id in main_workspace_file_ids {

0 commit comments

Comments
 (0)