Skip to content

formatter definition not found #431

Open

Description

@waynongithub

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

Activity

  1. gaoqiangks commented on Oct 26, 2024

    @gaoqiangks

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions