We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d8dd427 commit 67ae944Copy full SHA for 67ae944
autoload/codefmt/prettier.vim
@@ -68,9 +68,9 @@ function! codefmt#prettier#GetFormatter() abort
68
\ '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.
+ " is provided. Otherwise, fall back to the previous default: babel.
72
if @% == ""
73
- call extend(l:cmd, ['--parser', 'babylon'])
+ call extend(l:cmd, ['--parser', 'babel'])
74
else
75
call extend(l:cmd, ['--stdin-filepath', expand('%:p')])
76
endif
0 commit comments