Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
auto format should work for typescript
What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-beta
What version of prettier are you using - (output of :PrettierCliVersion) ?
2.1.2
What is your prettier executable path - (output of :PrettierCliPath) ?
/Users/myname/workspace/myproject/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
it's my first time with vim-prettier
:Prettier work fine.
autosave works for the other langs(js, json ...) but no for the typescript
here's my config.
let g:prettier#autoformat = 1
let g:prettier#autoformat_config_present = 0
let g:prettier#autoformat_require_pragma = 0
let g:prettier#autoformat_config_files = ['javascript', 'typescript', 'javascriptreact', 'typescriptreact', 'css', 'less', 'scss', 'json', 'graphql', 'markdown', 'vue', 'yaml', 'html']
Do you want to request a feature or report a bug?
bug
What is the current/expected behavior?
auto format should work for typescript
What version of
vim-prettierare you using - (output of:PrettierVersion) ?1.0.0-beta
What version of
prettierare you using - (output of:PrettierCliVersion) ?2.1.2
What is your
prettierexecutable path - (output of:PrettierCliPath) ?/Users/myname/workspace/myproject/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ?
it's my first time with vim-prettier
:Prettierwork fine.autosave works for the other langs(js, json ...) but no for the
typescripthere's my config.