summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authoraspidiets <emarshall85@gmail.com>2018-04-08 17:38:43 +0100
committerw0rp <devw0rp@gmail.com>2018-04-08 17:38:43 +0100
commitf9ae58849a8b465e367ed311f0506bae2a537a62 (patch)
tree5863c7868361251551c350966e36e29f5334f9f4 /autoload
parent91d7e81ebc08581fc0339c939c0adecaa590f2f7 (diff)
downloadale-f9ae58849a8b465e367ed311f0506bae2a537a62.zip
Fix #1424 - Make the brittany fixer work
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/brittany.vim3
1 files changed, 2 insertions, 1 deletions
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 <evan@evan-borden.com>
+" Author: eborden <evan@evan-borden.com>, ifyouseewendy <ifyouseewendy@gmail.com>, aspidiets <emarshall85@gmail.com>
" 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,
\}