-
-
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
Autoformatting Stops Working #228
Comments
Hi there,
Can you describe a bit around this randomness ?
Is that with files that was previously working ? Do you recall any actions done prior such as changing buffers or having split windows ? Can you also maybe provide vim version ? Would love to help looking into this issue |
It's definitely with files that were previously working. Typically I'll immediately check with
8.1.1401. It's the Debian packaged vim.
Thanks! I'd love to help however I can, but I wasn't sure if there are any typical debugging steps from here. |
So I switched to manually setting up an autocmd for it, and that seems to have resolved the issue (just in case anyone else hits this as well). |
Glad @nalanj was able to unblock himself, and apologies for not getting into this issue earlier. I have moved countries and now we are all facing this covid pandemic. Slowly catching up with issues in this repo and hopefuly will be resolving all of them soon |
Closing this for now as I tried to reproduce this locally without success. If anybody else is able to reproduce this and can supply some steps on how to do so I can reopen this issue and work on it again |
I have had this problem too and I now think it is related to the ftplugins vim-prettier ships. |
Do you want to request a feature or report a bug?
Bug
What is the current/expected behavior?
Autoformat for some reason stops working randomly for me. Restarting vim seems to restore it to the expected behavior. I haven't noticed any patterns around when it stops working. I've had this happen maybe 2 or 3 times in the past few weeks.
I'm only using a couple of very basic config options:
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
) ?prettier
Did this work in previous versions of vim-prettier and/or prettier ?
I'm not completely sure due to the randomness of it not working.
The text was updated successfully, but these errors were encountered: