diff options
author | w0rp <devw0rp@gmail.com> | 2017-05-20 16:00:05 +0100 |
---|---|---|
committer | w0rp <devw0rp@gmail.com> | 2017-05-20 19:02:36 +0100 |
commit | 59d9f5d458036bb6a2fbb0d3c3e301f4717eb916 (patch) | |
tree | 64a91e2b3fd2032d458efc73325788f62554a4f7 /test | |
parent | ad52b9630d95a9cf684872ec3614d650b75ed935 (diff) | |
download | ale-59d9f5d458036bb6a2fbb0d3c3e301f4717eb916.zip |
Allow b:ale_fixers to be used
Diffstat (limited to 'test')
-rw-r--r-- | test/test_ale_fix.vader | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/test_ale_fix.vader b/test/test_ale_fix.vader index 49d0d2db..23c61f9b 100644 --- a/test/test_ale_fix.vader +++ b/test/test_ale_fix.vader @@ -37,6 +37,7 @@ After: Restore unlet! g:ale_run_synchronously unlet! g:ale_emulate_job_failure + unlet! b:ale_fixers delfunction AddCarets delfunction AddDollars delfunction DoNothing @@ -175,3 +176,12 @@ Expect(There should be an extra line): b c d + +Execute(ALEFix should user buffer-local fixer settings): + let g:ale_fixers.testft = ['AddCarets', 'AddDollars'] + let b:ale_fixers = {'testft': ['RemoveLastLine']} + ALEFix + +Expect(There should be only two lines): + a + b |