nvim: add support for powershell_es on linux
This commit is contained in:
parent
bb7d1b917f
commit
7ece410458
1 changed files with 3 additions and 1 deletions
|
@ -625,8 +625,10 @@ lspconfig.bashls.setup {
|
|||
capabilities = capabilities,
|
||||
}
|
||||
-- pwsh
|
||||
local win_pwsh_es_path = '~/scoop/apps/powershell-editorservice/current'
|
||||
local arch_pwsh_es_path = "/opt/powershell-editor-services/"
|
||||
lspconfig.powershell_es.setup {
|
||||
bundle_path = '~/scoop/apps/powershell-editorservice/current',
|
||||
bundle_path = vim.fn.has('win32') == 1 and win_pwsh_es_path or arch_pwsh_es_path,
|
||||
capabilities = capabilities,
|
||||
}
|
||||
-- ccls
|
||||
|
|
Loading…
Add table
Reference in a new issue