summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <w0rp@users.noreply.github.com>2020-08-14 00:27:41 +0100
committerGitHub <noreply@github.com>2020-08-14 00:27:41 +0100
commit8151e3e8facfc0474ac18177fc1a3047326788d5 (patch)
treec24ed0f5f46944db14fb16894167417232befcb7 /autoload
parent94a968ef39cff0e50edafaa307f04b1a958ffbe4 (diff)
parentefe120ce9a9100129f1a811a659b0d7526cbf266 (diff)
downloadale-8151e3e8facfc0474ac18177fc1a3047326788d5.zip
Merge pull request #2920 from ConradIrwin/prettier-standard-stdin
Fix prettier_standard to respect the configuration file
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/fixers/prettier_standard.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/fixers/prettier_standard.vim b/autoload/ale/fixers/prettier_standard.vim
index b6e0a6f9..9d982ff6 100644
--- a/autoload/ale/fixers/prettier_standard.vim
+++ b/autoload/ale/fixers/prettier_standard.vim
@@ -17,8 +17,8 @@ function! ale#fixers#prettier_standard#Fix(buffer) abort
return {
\ 'command': ale#Escape(ale#fixers#prettier_standard#GetExecutable(a:buffer))
- \ . ' %t'
+ \ . ' --stdin'
+ \ . ' --stdin-filepath=%s'
\ . ' ' . l:options,
- \ 'read_temporary_file': 1,
\}
endfunction