Suggest functions for fixing issues for ALEFix

This commit is contained in:
w0rp
2017-05-20 18:56:44 +01:00
parent 59d9f5d458
commit 3530180a73
5 changed files with 139 additions and 2 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ Given testft (A file with three lines):
Execute(ALEFix should complain when there are no functions to call):
AssertThrows ALEFix
AssertEqual 'Vim(echoerr):No fixers have been defined for filetype: testft', g:vader_exception
AssertEqual 'Vim(echoerr):No fixers have been defined. Try :ALEFixSuggest', g:vader_exception
Execute(ALEFix should apply simple functions):
let g:ale_fixers.testft = ['AddCarets']