diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2024-09-18 12:15:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-18 21:15:13 +0200 |
commit | a1d0a427e807959666a6b23ae015e4e04659abf5 (patch) | |
tree | c588767979d1f7ded1830d042f737774b23addf6 /cli/lsp | |
parent | 7a41a939972b701e96cb70cbf0516595fefcae02 (diff) |
feat: default to TS for file extension and support ext flag in more scenarios (#25472)
Closes #11220
Currently does lint, fmt, and repl
Diffstat (limited to 'cli/lsp')
-rw-r--r-- | cli/lsp/language_server.rs | 1 | ||||
-rw-r--r-- | cli/lsp/testing/execution.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/cli/lsp/language_server.rs b/cli/lsp/language_server.rs index 5f6e38082..6626767dd 100644 --- a/cli/lsp/language_server.rs +++ b/cli/lsp/language_server.rs @@ -1420,6 +1420,7 @@ impl Inner { document.content(), &fmt_options, &unstable_options, + None, ) } }; diff --git a/cli/lsp/testing/execution.rs b/cli/lsp/testing/execution.rs index 55d81f342..88fb496e4 100644 --- a/cli/lsp/testing/execution.rs +++ b/cli/lsp/testing/execution.rs @@ -235,7 +235,7 @@ impl TestRun { )?; let main_graph_container = factory.main_module_graph_container().await?; main_graph_container - .check_specifiers(&self.queue.iter().cloned().collect::<Vec<_>>()) + .check_specifiers(&self.queue.iter().cloned().collect::<Vec<_>>(), None) .await?; let (concurrent_jobs, fail_fast) = |