diff options
-rw-r--r-- | ale_linters/bicep/bicep.vim | 3 | ||||
-rw-r--r-- | supported-tools.md | 2 | ||||
-rw-r--r-- | test/linter/test_bicep_bicep.vader | 8 |
3 files changed, 7 insertions, 6 deletions
diff --git a/ale_linters/bicep/bicep.vim b/ale_linters/bicep/bicep.vim index 5796f83e..91cc1986 100644 --- a/ale_linters/bicep/bicep.vim +++ b/ale_linters/bicep/bicep.vim @@ -26,7 +26,7 @@ function! ale_linters#bicep#bicep#Command(buffer) abort \ . l:nullfile \ . ' ' \ . l:options - \ . ' %t' + \ . ' %s' endfunction function! ale_linters#bicep#bicep#Handle(buffer, lines) abort @@ -60,4 +60,5 @@ call ale#linter#Define('bicep', { \ 'command': function('ale_linters#bicep#bicep#Command'), \ 'callback': 'ale_linters#bicep#bicep#Handle', \ 'output_stream': 'both', +\ 'lint_file': 1, \}) diff --git a/supported-tools.md b/supported-tools.md index ed4458f1..64f3cce3 100644 --- a/supported-tools.md +++ b/supported-tools.md @@ -62,7 +62,7 @@ formatting. * BibTeX * [bibclean](http://ftp.math.utah.edu/pub/bibclean/) * Bicep - * [bicep](https://github.com/Azure/bicep) + * [bicep](https://github.com/Azure/bicep) :floppy_disk: * BitBake * [oelint-adv](https://github.com/priv-kweihmann/oelint-adv) * Bourne Shell diff --git a/test/linter/test_bicep_bicep.vader b/test/linter/test_bicep_bicep.vader index 2beb2f22..a4057a72 100644 --- a/test/linter/test_bicep_bicep.vader +++ b/test/linter/test_bicep_bicep.vader @@ -6,16 +6,16 @@ After: Execute(The default command should be correct): if has('win32') - AssertLinter 'bicep', ale#Escape('bicep') . ' build --outfile NUL %t' + AssertLinter 'bicep', ale#Escape('bicep') . ' build --outfile NUL %s' else - AssertLinter 'bicep', ale#Escape('bicep') . ' build --outfile /dev/null %t' + AssertLinter 'bicep', ale#Escape('bicep') . ' build --outfile /dev/null %s' endif Execute(The executable should be configurable): let g:ale_bicep_bicep_executable = 'foobar' if has('win32') - AssertLinter 'foobar', ale#Escape('foobar') . ' build --outfile NUL %t' + AssertLinter 'foobar', ale#Escape('foobar') . ' build --outfile NUL %s' else - AssertLinter 'foobar', ale#Escape('foobar') . ' build --outfile /dev/null %t' + AssertLinter 'foobar', ale#Escape('foobar') . ' build --outfile /dev/null %s' endif |