Skip to content
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

formatter definition not found #431

Open
waynongithub opened this issue Sep 22, 2022 · 1 comment
Open

formatter definition not found #431

waynongithub opened this issue Sep 22, 2022 · 1 comment

Comments

@waynongithub
Copy link

Installed Neoformat with Plug in Neovim 0.7.2 on Linux Mint 19.3

I can't figure out how to get Neoformat to work with Prettier. I installed Prettier as a snap package in --devmode, so that it wouldn't be sandboxed. I installed node package Prettier globally, and it does show up when I list the global packages with npm list -g. I can use prettier succesfully on the command line.
But in nvim, :Neoformat prettier returns: "formatter definition for prettier not found".
What critical step am I missing?
Tnx

@gaoqiangks
Copy link

The same problem. Any one gives an example how to make Neoformat perttier work?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants