diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-03 09:54:55 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2020-02-03 09:54:55 +0900 |
commit | be98522b631e2a41e72bfae076ec3762c0d74c75 (patch) | |
tree | 215d9cff6a1edb5d6386d914944b933e521c4878 /installer | |
parent | 0b595998efedd45720b7ab304de4708403deb531 (diff) | |
download | vim-lsp-settings-be98522b631e2a41e72bfae076ec3762c0d74c75.tar.gz vim-lsp-settings-be98522b631e2a41e72bfae076ec3762c0d74c75.tar.bz2 vim-lsp-settings-be98522b631e2a41e72bfae076ec3762c0d74c75.zip |
Add powershell-languageserver
Diffstat (limited to 'installer')
-rw-r--r-- | installer/install-powershell-languageserver.cmd | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/installer/install-powershell-languageserver.cmd b/installer/install-powershell-languageserver.cmd new file mode 100644 index 0000000..a9e3cc0 --- /dev/null +++ b/installer/install-powershell-languageserver.cmd @@ -0,0 +1,17 @@ +@echo off + +curl -o PowerShellEditorServices.zip "https://github.com/PowerShell/PowerShellEditorServices/releases/download/2.0.0-preview.8/PowerShellEditorServices.zip" +call "%~dp0\run_unzip.cmd" PowerShellEditorServices.zip +del PowerShellEditorServices.zip + +echo @echo off ^ + +setlocal ^ + +set PSES_BUNDLE_PATH=%%~dp0PowerShellEditorServices ^ + +set SESSION_TEMP_PATH=%%~dp0session ^ + +powershell -NoLogo -NoProfile -ExecutionPolicy RemoteSigned -Command "%%PSES_BUNDLE_PATH:\=/%%/PowerShellEditorServices/Start-EditorServices.ps1 -BundledModulesPath %%PSES_BUNDLE_PATH:\=/%% -LogPath %%SESSION_TEMP_PATH:\=/%%/logs.log -SessionDetailsPath %%SESSION_TEMP_PATH:\=/%%/session.json -FeatureFlags @() -AdditionalModules @() -HostName 'My Client' -HostProfileId 'myclient' -HostVersion 1.0.0 -Stdio -LogLevel Normal" ^ + +> powershell-languageserver.cmd |