Code Monkey home page Code Monkey logo

Comments (4)

sarah11918 avatar sarah11918 commented on June 29, 2024

Hi @f-amine ! I'm glad you eventually got this working!

Would you like to make a PR to add this information yourself to the docs page? I could see adding it to the bottom of the page, in the Prettier section, maybe like:

#### Prettier for Neovim

To configure Prettier for Astro in Neovim, use the following configuration:

"prettier": {
  "astroAllowShorthand": true,
  "overrides": [
    {
      "files": "*.astro",
      "options": {
        "parser": "astro"
      }
    }
  ],
  "pluginSearchDirs": [
    "."
  ],
  "plugins": [
    "prettier-plugin-astro"
  ]
}

Do you think this would be a helpful addition? If so, I'd be happy to receive a PR to the docs page!

from docs.

f-amine avatar f-amine commented on June 29, 2024

Okey I can do that, I'm gonna look for the specific file for that and make a PR right now

from docs.

sarah11918 avatar sarah11918 commented on June 29, 2024

Amazing @f-amine - Quick tip - you can just go to that page in docs and click "edit this page" and you'll be taken right there! 🙌

from docs.

f-amine avatar f-amine commented on June 29, 2024

sent a pr, thanks for the fast reply !!

from docs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.