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

This commit is contained in:
w0rp
2017-05-18 17:26:17 +01:00
parent 8ebd15a54d
commit 05bab00c3c
2 changed files with 16 additions and 1 deletions

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