Linter for powershell syntax errors (#2413)

* Linter for powershell syntax errors
This commit is contained in:
Jesse Harris
2019-04-13 21:24:56 +10:00
committed by w0rp
parent d7395906ba
commit 2ed53108c4
8 changed files with 207 additions and 33 deletions

View File

@@ -2,6 +2,21 @@
ALE PowerShell Integration *ale-powershell-options*
===============================================================================
powershell *ale-powershell-powershell*
g:ale_powershell_powershell_executable *g:ale_powershell_powershell_executable*
*b:ale_powershell_powershell_executable*
Type: String
Default: `'pwsh'`
This variable can be changed to use a different executable for powershell.
>
" Use powershell.exe rather than the default pwsh
let g:ale_powershell_powershell_executable = 'powershell.exe'
>
===============================================================================
psscriptanalyzer *ale-powershell-psscriptanalyzer*