MunifTanjim / prettier.nvim

Prettier plugin for Neovim's built-in LSP client.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not loading options?

omar2205 opened this issue · comments

I have this config. When I format it doesn't format according to these options

image

It's working for me tho. By the way, if you set options this way, it will always override the options you set in your config file. So you might want to not set options in the prettier.setup(...) function and put a config file (e.g. .prettierrc.json or .prettierrc.js) in your project's root directory.

Also are you sure prettier is formatting your file? Can you try running the :Prettier command in neovim to see if that works?

I copied the example in the readme. I have set a message to pop after formatting.