We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 613b979 + f00de69 commit 0bae1b3Copy full SHA for 0bae1b3
autoload/codefmt/prettier.vim
@@ -65,7 +65,7 @@ function! codefmt#prettier#GetFormatter() abort
65
" {endline}.
66
function l:formatter.FormatRange(startline, endline) abort
67
let l:cmd = codefmt#formatterhelpers#ResolveFlagToArray(
68
- \ 'prettier_executable') + ['--stdin', '--no-color']
+ \ 'prettier_executable') + ['--no-color']
69
70
" prettier is able to automatically choose the best parser if the filepath
71
" is provided. Otherwise, fall back to the previous default: babylon.
0 commit comments