-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
bug: conform
is not discovering prettier
plugins
#515
Comments
Can you follow the steps detailed in the debugging docs and come up with a |
I did have success with |
the formatting is not working for me for JS and react based projects. It works for python based projects though.
this is my conform setup
formatting is not happening neither while saving nor running mp manually. I do have prettierd(0.26.1) installed globally. I have prettier installed in my project either.
prettier.config.js (as per my project)
|
Neovim version (nvim -v)
NVIM v0.10.1
Operating system/version
MacOS 14.5
Add the debug logs
log_level = vim.log.levels.DEBUG
and pasted the log contents below.Log file
Describe the bug
Conform (I think) is having trouble discovering the prettier plugin included in the project.
prettierd
andprettier
both try to find the plugin innoop.js
What is the severity of this bug?
tolerable (can work around it)
Steps To Reproduce
npm
prettier
andprettier-plugin-tailwindcss
.prettierrc
to the project, with{ "plugins": ["prettier-plugin-tailwindcss"] }
conform
for TypeScript:formatters_by_ft = { typescript = { 'prettierd', 'prettier', stop_after_first = true } }
Expected Behavior
conform
discoversprettier
plugins, and applies them.Minimal example file
Minimal init.lua
Additional context
No response
The text was updated successfully, but these errors were encountered: