mirror of
https://github.com/dense-analysis/ale.git
synced 2026-02-19 08:14:21 +08:00
#2017 Add support for display results from other sources
This commit is contained in:
@@ -9,14 +9,14 @@ Before:
|
||||
let g:ale_buffer_info = {}
|
||||
call ale#engine#InitBufferInfo(bufnr('') + 1)
|
||||
let g:ale_buffer_info[bufnr('') + 1].loclist =
|
||||
\ ale#engine#FixLocList(bufnr('') + 1, 'linter_one', [
|
||||
\ ale#engine#FixLocList(bufnr('') + 1, 'linter_one', 0, [
|
||||
\ {'lnum': 1, 'filename': expand('%:p'), 'text': 'foo'},
|
||||
\ {'lnum': 2, 'filename': expand('%:p'), 'text': 'bar'},
|
||||
\ {'lnum': 2, 'text': 'ignore this one'},
|
||||
\ ])
|
||||
call ale#engine#InitBufferInfo(bufnr('') + 2)
|
||||
let g:ale_buffer_info[bufnr('') + 2].loclist =
|
||||
\ ale#engine#FixLocList(bufnr('') + 2, 'linter_one', [
|
||||
\ ale#engine#FixLocList(bufnr('') + 2, 'linter_one', 0, [
|
||||
\ {'lnum': 1, 'filename': expand('%:p'), 'text': 'foo'},
|
||||
\ {'lnum': 3, 'filename': expand('%:p'), 'text': 'baz'},
|
||||
\ {'lnum': 5, 'text': 'ignore this one'},
|
||||
|
||||
Reference in New Issue
Block a user