File tree 1 file changed +15
-1
lines changed 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 {
29
29
. language_server_path ( language_server_id)
30
30
. map_err ( |err| format ! ( "failed to get editor services: {}" , err) ) ?;
31
31
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
+ ) ;
33
47
34
48
Ok ( zed:: Command {
35
49
command : pwsh_bin,
You can’t perform that action at this time.
0 commit comments