Allow strings to be used for selecting a single fix function for g:ale_fixers too

This commit is contained in:
w0rp committed 2017-05-20 19:02:36 +01:00
1 parent 8ebd15a54d
commit 05bab00c3c
2 files changed
+16 -1

No files matched your search

+9
View File
@@ -107,3 +107,12 @@ Expect(Only the second function should be applied):
$a
$b
$c
Execute(ALEFix should handle strings for selecting a single function):
let g:ale_fixers.testft = 'AddCarets'
ALEFix
Expect(The first function should be used):
^a
^b
^c