Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

bump eslint memory usage (#17724)

Conrad Irwin25b6e43b0f8f
diff --git a/crates/languages/src/typescript.rs b/crates/languages/src/typescript.rs
index 185c10be44a..9b6d41451f7 100644
--- a/crates/languages/src/typescript.rs
+++ b/crates/languages/src/typescript.rs
@@ -58,7 +58,11 @@ fn typescript_server_binary_arguments(server_path: &Path) -> Vec<OsString> {
}
fn eslint_server_binary_arguments(server_path: &Path) -> Vec<OsString> {
- vec![server_path.into(), "--stdio".into()]
+ vec![
+ "--max-old-space-size=8192".into(),
+ server_path.into(),
+ "--stdio".into(),
+ ]
}
pub struct TypeScriptLspAdapter {