summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcos <cos>2023-03-08 09:05:07 +0100
committercos <cos>2023-03-08 09:05:07 +0100
commitcb12e5c43ee6f5e2414e32a80bf01f51119b0231 (patch)
tree064b23fe016ee34f265006e3bc714e040e29324b
parent029cb550395bf73b549f9ba916746ef305bad493 (diff)
downloadale-wip/lint_fail_err.zip
fixup! wip: Add error on lint execution failurewip/lint_fail_err
-rw-r--r--autoload/ale/engine.vim12
1 files changed, 6 insertions, 6 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim
index 2720e901..888714ef 100644
--- a/autoload/ale/engine.vim
+++ b/autoload/ale/engine.vim
@@ -556,12 +556,12 @@ endfunction
function! s:AddLinterError(buffer, linter) abort
let l:output = []
call add(l:output, {
- \ 'lnum': 1,
- \ 'end_lnum': ale#util#GetLineCount(a:buffer),
- \ 'text': 'Linter failure (' . a:linter . ')',
- \ 'detail': 'Failed to execute ' . a:linter,
- \ 'type': 'E'}
- \ )
+ \ 'lnum': 1,
+ \ 'end_lnum': ale#util#GetLineCount(a:buffer),
+ \ 'text': 'Linter failure (' . a:linter . ')',
+ \ 'detail': 'Failed to execute ' . a:linter,
+ \ 'type': 'E'}
+ \)
call ale#other_source#ShowResults(bufnr(''), 'ale-vim', l:output)
endfunction