Skip to content

Commit 0bae1b3

Browse files
authored
Merge pull request #143 from agriffis/fix/prettier-stdin
fix(prettier): drop --stdin parameter
2 parents 613b979 + f00de69 commit 0bae1b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/codefmt/prettier.vim

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ function! codefmt#prettier#GetFormatter() abort
6565
" {endline}.
6666
function l:formatter.FormatRange(startline, endline) abort
6767
let l:cmd = codefmt#formatterhelpers#ResolveFlagToArray(
68-
\ 'prettier_executable') + ['--stdin', '--no-color']
68+
\ 'prettier_executable') + ['--no-color']
6969

7070
" prettier is able to automatically choose the best parser if the filepath
7171
" is provided. Otherwise, fall back to the previous default: babylon.

0 commit comments

Comments
 (0)