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

Alter settings for a specific part of a document #20

Closed
tamasfe opened this issue Jun 29, 2020 · 2 comments
Closed

Alter settings for a specific part of a document #20

tamasfe opened this issue Jun 29, 2020 · 2 comments
Labels

Comments

@tamasfe
Copy link
Owner

tamasfe commented Jun 29, 2020

E.g. disable formatting for a few lines, or just disable sorting for a few entries, and so on.

This could be done with comments like # taplo:ignore but this either gets very limiting or adds too much noise in the comments.

I would much prefer a way to do this with the help of #19.

@UtkarshVerma
Copy link

Do we have any directive to disable formatting for a region or the next line?

Something like #fmt: off and #fmt: on?

@UtkarshVerma
Copy link

This is related to #724

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

No branches or pull requests

2 participants