summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoastal <561087+toastal@users.noreply.github.com>2021-08-09 11:42:19 +0000
committerGitHub <noreply@github.com>2021-08-09 20:42:19 +0900
commit9264ffda2362bf54c223370b2dc5482354b290b7 (patch)
treef64d5a7aa0268eae006b51cb9b44cdc87325d675
parent836125391a75094e4c7e157664bb00ffb86a8b37 (diff)
downloadale-9264ffda2362bf54c223370b2dc5482354b290b7.zip
purs-tidy fix (#3867)
* purs-tidy * Fixup for purs-tidy
-rw-r--r--autoload/ale/fixers/purs_tidy.vim4
-rw-r--r--test/fixers/test_purs_tidy_fixer_callback.vader3
2 files changed, 2 insertions, 5 deletions
diff --git a/autoload/ale/fixers/purs_tidy.vim b/autoload/ale/fixers/purs_tidy.vim
index 0183fd73..09fa631b 100644
--- a/autoload/ale/fixers/purs_tidy.vim
+++ b/autoload/ale/fixers/purs_tidy.vim
@@ -18,9 +18,7 @@ function! ale#fixers#purs_tidy#Fix(buffer) abort
return {
\ 'command': ale#Escape(l:executable)
+ \ . ' format'
\ . ale#Pad(l:options)
- \ . ' %s',
- \ 'read_temporary_file': 0,
\}
endfunction
-
diff --git a/test/fixers/test_purs_tidy_fixer_callback.vader b/test/fixers/test_purs_tidy_fixer_callback.vader
index 7debd434..fdeb3f21 100644
--- a/test/fixers/test_purs_tidy_fixer_callback.vader
+++ b/test/fixers/test_purs_tidy_fixer_callback.vader
@@ -15,7 +15,6 @@ Execute(The purs-tidy callback should return the correct custom options):
AssertFixer
\ {
\ 'command': ale#Escape('odd-purs-tidy')
+ \ . ' format'
\ . ' --indent 3'
- \ . ' %s',
- \ 'read_temporary_file': 0,
\ }