All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
2 runtime ale_linters/powershell/powershell.vim
5 call ale#linter#Reset()
7 Execute(The powershell handler should process syntax errors from parsing a powershell script):
14 \ 'text': 'Missing closing ''}'' in statement block or type definition.',
15 \ 'code': 'ParseException',
18 \ ale_linters#powershell#powershell#Handle(bufnr(''), [
19 \ "At line:8 char:29",
20 \ "+ Invoke-Command -ScriptBlock {",
22 \ "Missing closing '}' in statement block or type definition.",
23 \ "At /home/harrisj/tester.ps1:5 char:5",
24 \ "+ [void]$ExecutionContext.InvokeCommand.NewScriptBlock($Contents);",
25 \ "+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",
26 \ "+ CategoryInfo : NotSpecified: (:) [], ParseException",
27 \ "+ FullyQualifiedErrorId : ParseException"
30 Execute(The powershell handler should process multiple syntax errors from parsing a powershell script):
37 \ 'text': 'The string is missing the terminator: ".',
38 \ 'code': 'ParseException'
44 \ 'text': 'Missing closing ''}'' in statement block or type definition.',
45 \ 'code': 'ParseException'
48 \ ale_linters#powershell#powershell#Handle(bufnr(''), [
49 \ 'At line:11 char:31',
50 \ '+ write-verbose ''deleted''',
52 \ 'The string is missing the terminator: ".',
53 \ 'At line:3 char:16',
54 \ '+ invoke-command {',
56 \ 'Missing closing ''}'' in statement block or type definition.',
57 \ 'At /var/folders/qv/15ybvt050v9cgwrm7c95x4r4zc4qsg/T/vwhzIc8/1/script.ps1:1 char:150',
58 \ '+ ... ontents); [void]$ExecutionContext.InvokeCommand.NewScriptBlock($Con ...',
59 \ '+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~',
60 \ '+ CategoryInfo : NotSpecified: (:) [], ParseException',
61 \ '+ FullyQualifiedErrorId : ParseException'
63 Execute(The powershell handler should process unexecpected token that contains a newline character):
70 \ 'text': 'The string is missing the terminator: ".',
71 \ 'code': 'ParseException'
77 \ 'text': 'Unexpected token ''"',
78 \ 'code': 'ParseException'
84 \ 'text': 'Missing closing ''}'' in statement block or type definition.',
85 \ 'code': 'ParseException'
88 \ ale_linters#powershell#powershell#Handle(bufnr(''), [
92 \ 'The string is missing the terminator: ".',
96 \ 'Unexpected token ''"',
98 \ ' }'' in expression or statement.',
100 \ 'At line:1 char:1',
103 \ 'Missing closing ''}'' in statement block or type definition.',
104 \ 'At C:\Users\jpharris\AppData\Local\Temp\VIAA777.tmp\script.ps1:1 char:150',
105 \ '+ ... ontents); [void]$ExecutionContext.InvokeCommand.NewScriptBlock($Con ...',
106 \ '+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~',
107 \ ' + CategoryInfo : NotSpecified: (:) [], ParseException',
108 \ ' + FullyQualifiedErrorId : ParseException'