vim-prettier
vim-prettier copied to clipboard
feature request: use single quotes instead of double quotes in JSX (like in VS Code)
Do you want to request a feature or report a bug? Feature
What is the current/expected behavior?
Ability to toggle JSX Single Quote option

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.16.4^@
What is your prettier executable path - (output of :PrettierCliPath) ?
../client/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ? Not sure
HI @n-xlkt
Thanks for reporting this issue, looks like we need to add support on vim-prettier for both options:
--jsx-bracket-same-line Put > on the last line instead of at a new line.
--jsx-single-quote Use single quotes in JSX.
I will work on adding this to the release/1.x branch
I see this issue's been open for some time; has it been implemented?
I would like to know too if it has been implemented already or will be soon?
I quote the above messages.
Now is Dec 18 2020, any update @mitermayer?
Any updates here?