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

Let prisma_fmt::format() take parameters for tab size #2538

Merged
merged 1 commit into from
Dec 23, 2021

Conversation

tomhoule
Copy link
Contributor

The API is modelled on an LSP formatting request. The
DocumentFormattingParams contain, among other options, the tab size,
which we then pass to the reformatter. Note that this is a breaking API
change, so we'll have to pay attention to prisma-fmt-wasm, and probably
skip a (failed) release there.

The API is modelled on an LSP formatting request. The
DocumentFormattingParams contain, among other options, the tab size,
which we then pass to the reformatter. Note that this is a breaking API
change, so we'll have to pay attention to prisma-fmt-wasm, and probably
skip a (failed) release there.
@Jolg42
Copy link
Contributor

Jolg42 commented Dec 23, 2021

Related prisma/language-tools#993

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

Successfully merging this pull request may close these issues.

2 participants