diff --git a/autoload/ale/fixers/brittany.vim b/autoload/ale/fixers/brittany.vim index fed5eb8b..57c77325 100644 --- a/autoload/ale/fixers/brittany.vim +++ b/autoload/ale/fixers/brittany.vim @@ -1,4 +1,4 @@ -" Author: eborden +" Author: eborden , ifyouseewendy , aspidiets " Description: Integration of brittany with ALE. call ale#Set('haskell_brittany_executable', 'brittany') @@ -8,6 +8,7 @@ function! ale#fixers#brittany#Fix(buffer) abort return { \ 'command': ale#Escape(l:executable) + \ . ' --write-mode inplace' \ . ' %t', \ 'read_temporary_file': 1, \} diff --git a/test/fixers/test_brittany_fixer_callback.vader b/test/fixers/test_brittany_fixer_callback.vader index a0182b52..073e368c 100644 --- a/test/fixers/test_brittany_fixer_callback.vader +++ b/test/fixers/test_brittany_fixer_callback.vader @@ -18,6 +18,7 @@ Execute(The brittany callback should return the correct default values): \ { \ 'read_temporary_file': 1, \ 'command': ale#Escape('xxxinvalid') + \ . ' --write-mode inplace' \ . ' %t', \ }, \ ale#fixers#brittany#Fix(bufnr(''))