volarjs / services

MIT License
137 stars 29 forks source link

feat(prettier): Add support for Prettier 3 and passing an instance of Prettier #42

Closed Princesseuh closed 1 year ago

Princesseuh commented 1 year ago

Makes all the call to Prettier stuff async, that way it works on both Prettier 2 and Prettier 3.

Fix https://github.com/volarjs/services/issues/39 as well

This also separates the ignoreIdeOptions into a second option for fallback config, as a way to fix downstream https://github.com/withastro/language-tools/issues/591