mirror of
https://github.com/dense-analysis/ale.git
synced 2026-05-25 09:48:43 +08:00
#333 Remember the IDs for highlights
This commit is contained in:
@@ -36,4 +36,8 @@ Execute(The loclist should be updated after linting is done):
|
||||
call ale#engine#WaitForJobs(2000)
|
||||
|
||||
AssertEqual ['' . bufnr('%')], keys(g:ale_buffer_info)
|
||||
|
||||
let g:expected_data[0].match_id = getmatches()[0].id
|
||||
let g:expected_data[1].match_id = getmatches()[1].id
|
||||
|
||||
AssertEqual g:expected_data, g:ale_buffer_info[bufnr('%')].loclist
|
||||
|
||||
Reference in New Issue
Block a user