diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2023-08-31 19:10:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-31 19:10:09 +0100 |
commit | c0dcf6a3571ee04b4826c52d1329804e7c2b02c4 (patch) | |
tree | 763e320547c5f6e978e25acee1f1f098cda7f24f /cli/lsp/repl.rs | |
parent | 9d58c896dc11be39727729b74ebe5d5d7bb58767 (diff) |
feat(lsp): enable via config file detection (#20334)
With https://github.com/denoland/vscode_deno/pull/902 for
https://github.com/denoland/vscode_deno/issues/880.
For multi-folder workspaces, note that this only scans the first one and
applies the result to all. That means users would have to still have to
specify `"deno.enable": true/false` for their secondary folders if the
preference is different for those.
Diffstat (limited to 'cli/lsp/repl.rs')
-rw-r--r-- | cli/lsp/repl.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/lsp/repl.rs b/cli/lsp/repl.rs index ad0171629..598674fdc 100644 --- a/cli/lsp/repl.rs +++ b/cli/lsp/repl.rs @@ -284,7 +284,7 @@ fn get_cwd_uri() -> Result<ModuleSpecifier, AnyError> { pub fn get_repl_workspace_settings() -> WorkspaceSettings { WorkspaceSettings { - enable: true, + enable: Some(true), enable_paths: Vec::new(), config: None, certificate_stores: None, |