File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,21 @@ impl zed::Extension for PowerShellExtension {
2929 . language_server_path ( language_server_id)
3030 . map_err ( |err| format ! ( "failed to get editor services: {}" , err) ) ?;
3131
32- let command = format ! ( "Import-Module (Join-Path '{bundle_path}' 'PowerShellEditorServices/PowerShellEditorServices.psd1'); Start-EditorServices -Stdio -SessionDetailsPath '{bundle_path}/powershell-es.session.json' -LogPath '{bundle_path}/logs' -FeatureFlags @() -AdditionalModules @() -HostName zed -HostProfileId 0 -HostVersion 1.0.0 -LogLevel Diagnostic" ) ;
32+ let command = format ! (
33+ "Import-Module ( \
34+ Join-Path '{bundle_path}' 'PowerShellEditorServices/PowerShellEditorServices.psd1' \
35+ ); \
36+ Start-EditorServices \
37+ -Stdio \
38+ -SessionDetailsPath '{bundle_path}/powershell-es.session.json' \
39+ -LogPath '{bundle_path}/logs' \
40+ -FeatureFlags @() \
41+ -AdditionalModules @() \
42+ -HostName zed \
43+ -HostProfileId 0 \
44+ -HostVersion 1.0.0 \
45+ -LogLevel Trace"
46+ ) ;
3347
3448 Ok ( zed:: Command {
3549 command : pwsh_bin,
You can’t perform that action at this time.
0 commit comments