diff options
| author | Github Actions <actions@github> | 2021-03-14 16:54:00 +0000 |
|---|---|---|
| committer | Github Actions <actions@github> | 2021-03-14 16:54:00 +0000 |
| commit | d95e0846bfbcca43649cb545fdb6abcffe9701cf (patch) | |
| tree | 99bc47a22fc2fd79805cc1723cfb89516fee91d6 | |
| parent | Merge pull request #779 from sakhnik/master (diff) | |
| download | nvim-lspconfig-d95e0846bfbcca43649cb545fdb6abcffe9701cf.tar nvim-lspconfig-d95e0846bfbcca43649cb545fdb6abcffe9701cf.tar.gz nvim-lspconfig-d95e0846bfbcca43649cb545fdb6abcffe9701cf.tar.bz2 nvim-lspconfig-d95e0846bfbcca43649cb545fdb6abcffe9701cf.tar.lz nvim-lspconfig-d95e0846bfbcca43649cb545fdb6abcffe9701cf.tar.xz nvim-lspconfig-d95e0846bfbcca43649cb545fdb6abcffe9701cf.tar.zst nvim-lspconfig-d95e0846bfbcca43649cb545fdb6abcffe9701cf.zip | |
[docgen] Update CONFIG.md
skip-checks: true
| -rw-r--r-- | CONFIG.md | 48 |
1 files changed, 42 insertions, 6 deletions
@@ -46,6 +46,7 @@ that config. - [ocamllsp](#ocamllsp) - [omnisharp](#omnisharp) - [perlls](#perlls) +- [powershell_es](#powershell_es) - [purescriptls](#purescriptls) - [pyls](#pyls) - [pyls_ms](#pyls_ms) @@ -1768,12 +1769,6 @@ This server accepts configuration via the `settings` key. If set\, redirects the logs to a file\. -- **`haskell.maxNumberOfProblems`**: `number` - - Default: `100` - - Controls the maximum number of problems produced by the server - - **`haskell.plugin.class.globalOn`**: `boolean` Default: `true` @@ -3077,6 +3072,47 @@ require'lspconfig'.perlls.setup{} } ``` +## powershell_es + +https://github.com/PowerShell/PowerShellEditorServices + +Language server for PowerShell. + +To install, download and extract PowerShellEditorServices.zip +from the [releases](https://github.com/PowerShell/PowerShellEditorServices/releases). +To configure the language server, set the property `bundle_path` to the root +of the extracted PowerShellEditorServices.zip. + +The default configuration doesn't set `cmd` unless `bundle_path` is specified. + +```lua +require'lspconfig'.powershell_es.setup{ + bundle_path = 'c:/w/PowerShellEditorServices', +} +``` + +If necessary, specific `cmd` can be defined instead of `bundle_path`. +See [PowerShellEditorServices](https://github.com/PowerShell/PowerShellEditorServices#stdio) +to learn more. + +```lua +require'lspconfig'.powershell_es.setup{ + cmd = {'pwsh', '-NoLogo', '-NoProfile', '-Command', "c:/PSES/Start-EditorServices.ps1 ..."} +} +``` + + +```lua +require'lspconfig'.powershell_es.setup{} + + Commands: + + Default Values: + filetypes = { "ps1" } + on_new_config = <function 1> + root_dir = git root or current directory +``` + ## purescriptls https://github.com/nwolverson/purescript-language-server |
