diff options
author | w0rp <w0rp@users.noreply.github.com> | 2020-08-14 00:27:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-14 00:27:41 +0100 |
commit | 8151e3e8facfc0474ac18177fc1a3047326788d5 (patch) | |
tree | c24ed0f5f46944db14fb16894167417232befcb7 /autoload | |
parent | 94a968ef39cff0e50edafaa307f04b1a958ffbe4 (diff) | |
parent | efe120ce9a9100129f1a811a659b0d7526cbf266 (diff) | |
download | ale-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.vim | 4 |
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 |