Refactor SyntaxErl linter file (#4807)

This commit is contained in:
Dmitri Vereshchagin
2024-07-12 03:40:38 +03:00
committed by GitHub
parent 5c635d5038
commit 48d73c87c3
2 changed files with 25 additions and 23 deletions

View File

@@ -11,11 +11,11 @@ Execute (The default commands should be correct):
\]
Execute (The executable should be configurable):
let b:ale_erlang_syntaxerl_executable = 'foobar'
let b:ale_erlang_syntaxerl_executable = '/path/to/syntaxerl'
AssertLinter 'foobar', [
\ ale#Escape('foobar') . ' -h',
\ ale#Escape('foobar') . ' %t',
AssertLinter '/path/to/syntaxerl', [
\ ale#Escape('/path/to/syntaxerl') . ' -h',
\ ale#Escape('/path/to/syntaxerl') . ' %t',
\]
Execute (The -b option should be used when available):