From 87c0e8db8aa31a9ff30eee53aed64962cf546c09 Mon Sep 17 00:00:00 2001 From: Tyler Leonhardt Date: Sat, 18 May 2019 08:50:28 -0700 Subject: [PATCH] add newline slashes --- autoload/coc/powershell/utils.vim | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/autoload/coc/powershell/utils.vim b/autoload/coc/powershell/utils.vim index 7764edf..3f7a2c0 100644 --- a/autoload/coc/powershell/utils.vim +++ b/autoload/coc/powershell/utils.vim @@ -14,19 +14,18 @@ function! s:getAvailablePowerShellExecutables () let paths = [] if(s:is_win) call add(paths, { - versionName: "Windows PowerShell", - executablePath: "C:\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" - - }) + \ versionName: "Windows PowerShell", + \ executablePath: "C:\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" + \ }) let psCoreInstallPath = "C:\\System32\\PowerShell\\" if(isdirectory(psCoreInstallPath)) let psCoreExePaths = split(glob(psCoreInstallPath . "**\\pwsh.exe"), "\n") if(!empty(psCoreExePaths)) call add(paths, { - versionName: "PowerShell Core", - executablePath: psCoreExePaths[0] - }) + \ versionName: "PowerShell Core", + \ executablePath: psCoreExePaths[0] + \ }) endif endif