Add PowerShell LSP support (might come in handy?)
This commit is contained in:
parent
63502cd247
commit
257a59a66c
1 changed files with 15 additions and 0 deletions
|
@ -49,6 +49,21 @@ const lspServers = [
|
||||||
install: 'curl -Lo phpactor https://github.com/phpactor/phpactor/releases/latest/download/phpactor.phar && chmod u+x phpactor && mv phpactor ~/bin',
|
install: 'curl -Lo phpactor https://github.com/phpactor/phpactor/releases/latest/download/phpactor.phar && chmod u+x phpactor && mv phpactor ~/bin',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
name: 'PowerShellEditorServices',
|
||||||
|
filetype: 'ps1',
|
||||||
|
path: exepath('pwsh'),
|
||||||
|
args: ['-NoLogo', '-NoProfile', '-Command', expand('~/.cache/powershell/PowerShellEditorServices/Start-EditorServices.ps1') .. ' -Stdio'],
|
||||||
|
installed: () => executable('pwsh') && filereadable(expand('~/.cache/powershell/PowerShellEditorServices/Start-EditorServices.ps1')),
|
||||||
|
install: [
|
||||||
|
'mkdir -p ~/.cache/powershell',
|
||||||
|
'cd ~/.cache/powershell',
|
||||||
|
'wget https://github.com/PowerShell/PowerShellEditorServices/releases/latest/download/PowerShellEditorServices.zip',
|
||||||
|
'unzip PowerShellEditorServices.zip',
|
||||||
|
'rm PowerShellEditorServices.zip'
|
||||||
|
]->join(' && ')
|
||||||
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
name: 'pylsp',
|
name: 'pylsp',
|
||||||
filetype: 'python',
|
filetype: 'python',
|
||||||
|
|
Loading…
Reference in a new issue