Move all functions for fixing things to autoload/ale/fixers, and only accept the lines of input where needed.
This commit is contained in:
parent
edddb1910b
commit
7517fd8226
15 changed files with 132 additions and 98 deletions
|
@ -39,3 +39,7 @@ Execute(We should be able to compute the argument count for lambdas):
|
|||
AssertEqual 3, ale#util#FunctionArgCount({x,y,z->1})
|
||||
AssertEqual 3, ale#util#FunctionArgCount({x,y,z,...->1})
|
||||
endif
|
||||
|
||||
Execute(We should be able to compute the argument count autoload functions not yet loaded):
|
||||
AssertEqual 1, ale#util#FunctionArgCount(function('ale#fixers#yapf#Fix'))
|
||||
AssertEqual 1, ale#util#FunctionArgCount('ale#fixers#yapf#Fix')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue