summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Harris <zigford@gmail.com>2019-11-09 13:43:00 +1000
committerJesse Harris <zigford@gmail.com>2019-11-09 13:43:00 +1000
commitf09cc26f8793fc65647ed90b61f9845de0e9d126 (patch)
tree2b6e3f2b627e959f7bb0ae1eda13866a5a16eb47
parentdb6b1b5ecc17558f87f55b159f90ebf36677b6b3 (diff)
downloadale-f09cc26f8793fc65647ed90b61f9845de0e9d126.zip
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);