mirror of
https://github.com/nushell/nushell.git
synced 2025-08-10 15:58:19 +02:00
check signals in nu-glob
and ls
(#15140)
Fixes #10144 # User-Facing Changes Long running glob expansions and `ls` runs (e.g. `ls /**/*`) can now be interrupted with ctrl-c.
This commit is contained in:
@ -42,7 +42,7 @@ fn find_nu_scripts_in_folder(folder_uri: &Uri) -> Result<nu_glob::Paths> {
|
||||
return Err(miette!("\nworkspace folder does not exist."));
|
||||
}
|
||||
let pattern = format!("{}/**/*.nu", path.to_string_lossy());
|
||||
nu_glob::glob(&pattern).into_diagnostic()
|
||||
nu_glob::glob(&pattern, None).into_diagnostic()
|
||||
}
|
||||
|
||||
impl LanguageServer {
|
||||
|
Reference in New Issue
Block a user