summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ale_linters/powershell/psscriptanalyzer.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/ale_linters/powershell/psscriptanalyzer.vim b/ale_linters/powershell/psscriptanalyzer.vim
index 8d1804f8..8440d771 100644
--- a/ale_linters/powershell/psscriptanalyzer.vim
+++ b/ale_linters/powershell/psscriptanalyzer.vim
@@ -98,8 +98,8 @@ endfunction
call ale#linter#Define('powershell', {
\ 'name': 'psscriptanalyzer',
-\ 'executable_callback': 'ale_linters#powershell#psscriptanalyzer#GetExecutable',
-\ 'command_callback': 'ale_linters#powershell#psscriptanalyzer#GetCommand',
+\ 'executable': function('ale_linters#powershell#psscriptanalyzer#GetExecutable'),
+\ 'command': function('ale_linters#powershell#psscriptanalyzer#GetCommand'),
\ 'output_stream': 'stdout',
\ 'callback': 'ale_linters#powershell#psscriptanalyzer#Handle',
\})