Move all functions for fixing things to autoload/ale/fixers, and only accept the lines of input where needed.

This commit is contained in:
w0rp committed 2017-06-07 14:02:29 +01:00
1 parent edddb1910b
commit 7517fd8226
15 files changed
+132 -98

No files matched your search

@@ -39,7 +39,7 @@ Given python(Some Python without blank lines):
pass
Execute(Blank lines should be added appropriately):
let g:ale_fixers = {'python': ['ale#handlers#python#AddLinesBeforeControlStatements']}
let g:ale_fixers = {'python': ['add_blank_lines_for_python_control_statements']}
ALEFix
Expect python(Newlines should be added):