From 2ef3f9806c93ac7f171d3045d8787f8e5b8908e7 Mon Sep 17 00:00:00 2001 From: w0rp Date: Wed, 10 Apr 2019 19:44:57 +0100 Subject: [PATCH] #2428 Remove deprecated linter options for psscriptanalyzer --- ale_linters/powershell/psscriptanalyzer.vim | 4 ++-- 1 file 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', \})