summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2019-11-14 14:24:19 +0000
committerGitHub <noreply@github.com>2019-11-14 14:24:19 +0000
commitb76165abf634d365382ba213d8f754e8ca52a0e6 (patch)
tree2b6e3f2b627e959f7bb0ae1eda13866a5a16eb47
parentdb6b1b5ecc17558f87f55b159f90ebf36677b6b3 (diff)
parentf09cc26f8793fc65647ed90b61f9845de0e9d126 (diff)
downloadale-b76165abf634d365382ba213d8f754e8ca52a0e6.zip
Merge pull request #2889 from zigford/powershell-7-errorview
Default errorview in pwsh7 now concise
-rw-r--r--ale_linters/powershell/powershell.vim1
1 files changed, 1 insertions, 0 deletions
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);