From f09cc26f8793fc65647ed90b61f9845de0e9d126 Mon Sep 17 00:00:00 2001 From: Jesse Harris Date: Sat, 9 Nov 2019 13:43:00 +1000 Subject: Default errorview in pwsh7 now concise --- ale_linters/powershell/powershell.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/ale_linters/powershell/powershell.vim b/ale_linters/powershell/powershell.vim index a63191fd..5f49f72c 100644 --- a/ale_linters/powershell/powershell.vim +++ b/ale_linters/powershell/powershell.vim @@ -12,6 +12,7 @@ endfunction " https://rkeithhill.wordpress.com/2007/10/30/powershell-quicktip-preparsing-scripts-to-check-for-syntax-errors/ function! ale_linters#powershell#powershell#GetCommand(buffer) abort let l:script = ['Param($Script); + \ $ErrorView = "Normal"; \ trap {$_;continue} & { \ $Contents = Get-Content -Path $Script; \ $Contents = [string]::Join([Environment]::NewLine, $Contents); -- cgit v1.2.3