mirror of
https://github.com/dense-analysis/ale
synced 2024-12-23 14:45:29 +00:00
81c73da3b9
A new function is added here which will later be modified for public use in linter and fixer callbacks. All linting and fixing now goes through this new function, to prove that it works in all cases.
17 lines
318 B
Plaintext
17 lines
318 B
Plaintext
Before:
|
|
let g:ale_buffer_info = {}
|
|
|
|
After:
|
|
call ale#engine#Cleanup(bufnr(''))
|
|
|
|
let g:ale_buffer_info = {}
|
|
|
|
Given unite (A Unite.vim file):
|
|
anything
|
|
|
|
Execute(Running ALE on a blacklisted file shouldn't change anything):
|
|
call ale#Queue(0)
|
|
call ale#test#WaitForJobs(2000)
|
|
|
|
AssertEqual {}, g:ale_buffer_info
|