-
-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to disable 'single-quote' #32
Comments
Thanks for reporting this, will look into it and do a release ASAP, otherwise also accepting PR |
@CGamesPlay Will do a new release in the next day or two to fix this |
@CGamesPlay I am unable to reproduce this bug, can you please help me understand how is that happening to you? Steps I have done to try to reproduce this bug (using prettier 1.5.2 and 1.5.3):
g:prettier#config#single_quote = 'false'
const a = 'foo';
From doing the above I got the same result both times: const a = "foo"; Would be great if you could provide me some more information on how to reproduce this error |
@CGamesPlay Will be closing this issue since I can't reproduce it. Feel free to re-open it if you can provide more information on how to reproduce it. thank you for reporting it :) |
No worries. I'll collect my versions and try again. It's possible I wasn't setting the variables correctly? Will double check and report back if necessary. |
Prettier 1.5.3 does not accept
--single-quote false
as a way to using double quotes. This means thatg:prettier#config#single_quote = 'false'
doesn't work. I have to use this, which is icky:g:prettier#config#single_quote = '--no-single-quote'
.The text was updated successfully, but these errors were encountered: