Skip to content

trailing_comma = 'es5' setting not working #258

@haruki-m

Description

@haruki-m

Do you want to request a feature or report a bug?
Report a bug

What is the current/expected behavior?
Current:
let g:prettier#config#trailing_comma = 'none' and let g:prettier#config#trailing_comma = 'all' works perfectly, butlet g:prettier#config#trailing_comma = 'es5' gives me an error message in vim: Prettier: failed to parse buffer

Expected:
Setting let g:prettier#config#trailing_comma = 'es5' shouldn't give me an error message and should work.

What version of vim-prettier are you using - (output of :PrettierVersion) ?
1.0.0-alpha

What version of prettier are you using - (output of :PrettierCliVersion) ?
1.19.1^@

What is your prettier executable path - (output of :PrettierCliPath) ?
/Users/[name]/.vim/plugged/vim-prettier/node_modules/.bin/prettier

Did this work in previous versions of vim-prettier and/or prettier ?
Not sure

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions