-
Notifications
You must be signed in to change notification settings - Fork 48
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
Formatting output is not as expected #34
Comments
You need check https://github.com/neoclide/coc.nvim/wiki/Debug-language-server#using-output-channel to make sure it's not formatted by other plugin like coc-tsserver |
Hmmm, so it seems like now its not even formatting for me. This is my coc-settings
If I highlight the text and run formatter it formats it correctly. So maybe on type is not supported? |
@chemzqm if I do |
I wonder if format on type is using something different then when I grab a selection and format it
|
Possibly related to #37? I am running into an issue where a different formater is used for a section vs format all (for json). According to that issue, the problem is fixed on master. |
So I am trying to use this addon and I did a test to compare how it looks in VScode vs vim. Now maybe VScode is wrong but thought I would ask. So I typed the following:
When I hit enter it was formatted to
If I do the same example in VScode I get
Notice how it added the space around the triple equal and between the if and (?
Here is my .prettierrc
My project does have an .editorconfig
The text was updated successfully, but these errors were encountered: