Skip to content

Commit 97b0cdb

Browse files
Update LSP config example in README (#19)
Updated PowerShell Editor Services configuration with new binary path and arguments. The LSP config example shown in README doesn't work as far as I can tell since there is no PowerShell Editor Services binary we could point to. The commit uses a way to configure it as shown in [this comment](wingyplus#16 (comment)).
1 parent ecde130 commit 97b0cdb

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,20 @@ If you wish to specify a custom path to your language server, you can do so via
1212
```json
1313
{
1414
"lsp": {
15-
"powershell-es": {
16-
"binary": {
17-
"path": "<path to PowerShellEditorServices>"
18-
}
19-
}
15+
"powershell-es": {
16+
"binary": {
17+
"path": "pwsh.exe",
18+
"arguments": [
19+
"-NoLogo",
20+
"-NoProfile",
21+
"-Command",
22+
"path\\to\\PowerShellEditorServices\\Start-EditorServices.ps1",
23+
"-Stdio",
24+
"-SessionDetailsPath",
25+
"path\\to\\PowerShellEditorServices\\powershell-es.session.json",
26+
],
27+
},
28+
},
2029
}
2130
}
2231
```

0 commit comments

Comments
 (0)