You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|-- .prettierrc.js
|-- client
|-- package.json
|-- src
|-- index.js
|-- // other js files
|-- server
The client is Javascript and the server is in a different language. I like to be able to edit both, so I open vim at the root of the project. When doing so, my prettier settings are completely ignored. If I open vim inside the client directory, then everything works as expected.
Is there a way to tell coc-prettier to use the proper settings? For example, I have bracketSpacing set to true, but when I run vim inside the root directory, formatting kicks in and removes all of the bracket spacing.
The text was updated successfully, but these errors were encountered:
I have a project structured like the following:
The client is Javascript and the server is in a different language. I like to be able to edit both, so I open vim at the root of the project. When doing so, my prettier settings are completely ignored. If I open vim inside the
client
directory, then everything works as expected.Is there a way to tell coc-prettier to use the proper settings? For example, I have
bracketSpacing
set totrue
, but when I run vim inside the root directory, formatting kicks in and removes all of the bracket spacing.The text was updated successfully, but these errors were encountered: