Skip to content

Commit 2f3cc2f

Browse files
committed
debug info
1 parent 9ff3f05 commit 2f3cc2f

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ on:
22
pull_request:
33
push:
44
branches:
5-
- main
5+
- [main, pr, dev]
66

77
name: continuous-integration
88

crates/nu-lsp/src/workspace.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ impl LanguageServer {
160160

161161
self.send_progress_begin(token.clone(), message)?;
162162
for (i, fp) in scripts.iter().enumerate() {
163+
println!("----- {:#?} -----", fp);
163164
let uri = path_to_uri(fp);
164165
if let Some(file) = self.docs.get_document(&uri) {
165166
Self::find_reference_in_file(working_set, file, fp, &id)
@@ -233,6 +234,7 @@ impl LanguageServer {
233234
}
234235

235236
fn find_nu_scripts_in_folder(folder_uri: &Uri) -> Option<Vec<PathBuf>> {
237+
println!(" ======================================== ");
236238
let path = uri_to_path(folder_uri);
237239
if !path.is_dir() {
238240
return None;

0 commit comments

Comments
 (0)