diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-06-13 15:48:53 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-13 15:48:53 -0400 |
commit | 015ea60d25a3c773fc9d9bf17fc904de236814f9 (patch) | |
tree | 7ad367b85a48fc5c0980bbfd91e98139d9f9da19 /cli/util/mod.rs | |
parent | 92e7287f4a744cad1fbe46ba1ce84c2b479ce6ac (diff) |
fix(lsp): don't pre-load documents matched in the config file's "exclude" (#19431)
This prevents documents specified in a deno.json's "exclude" from being
pre-loaded by the lsp.
For example, someone may have something like:
```jsonc
// deno.json
{
"exclude": [
"dist" // build directory
]
}
```
Diffstat (limited to 'cli/util/mod.rs')
-rw-r--r-- | cli/util/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/util/mod.rs b/cli/util/mod.rs index 61511679f..0c160dbc8 100644 --- a/cli/util/mod.rs +++ b/cli/util/mod.rs @@ -8,6 +8,7 @@ pub mod display; pub mod draw_thread; pub mod file_watcher; pub mod fs; +pub mod glob; pub mod logger; pub mod path; pub mod progress_bar; |