mirror of
https://github.com/dense-analysis/ale.git
synced 2026-10-15 18:42:42 +08:00
#1108 Support selecting fixers with Lists
This commit is contained in:
1 parent
365d023d0e
commit
099df0af52
3 files changed
+43
-12
No files matched your search
@@ -330,6 +330,15 @@ Expect(There should be only two lines):
|
||||
a
|
||||
b
|
||||
|
||||
Execute(ALEFix should allow Lists to be used for buffer-local fixer settings):
|
||||
let g:ale_fixers.testft = ['AddCarets', 'AddDollars']
|
||||
let b:ale_fixers = ['RemoveLastLine']
|
||||
ALEFix
|
||||
|
||||
Expect(There should be only two lines):
|
||||
a
|
||||
b
|
||||
|
||||
Given testft (A file with three lines):
|
||||
a
|
||||
b
|
||||
|
||||
Reference in new issue
Block a user