-
-
Notifications
You must be signed in to change notification settings - Fork 137
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
Deletes comments in Ruby files #335
Comments
Hi same problem for me... Comments disappearing as well as shebang line |
I have the same issue :( My solution was to use Neovims null-ls.nvim package for ruby. |
What version of the There is a bug in versions of the You can try updating your version of the npm install --save-dev @prettier/plugin-ruby@">=1.0.0 <4.0.0" |
Do you want to request a feature or report a bug? A bug
What is the current/expected behavior? current: deletes comments. Expected: leave comments alone
What version of
vim-prettier
are you using - (output of:PrettierVersion
) ? 1.0.0-betaWhat version of
prettier
are you using - (output of:PrettierCliVersion
) ? 2.3.1What is your
prettier
executable path - (output of:PrettierCliPath
) ?~/.vim/plugged/vim-prettier/node_modules/.bin/prettier
Did this work in previous versions of vim-prettier and/or prettier ? I don't know
With
let g:prettier#autoformat=1
, create a new buffer andset ft=ruby
. Saving this buffer:Will modify it to:
My config file:
For those affected, a temporary fix in your
.vimrc
:The text was updated successfully, but these errors were encountered: