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

Partial wrapping rules #508

Open
Gama11 opened this issue Jun 14, 2019 · 0 comments
Open

Partial wrapping rules #508

Gama11 opened this issue Jun 14, 2019 · 0 comments
Labels
enhancement New feature or request wrapping Incorrect or undesirable wrapping

Comments

@Gama11
Copy link
Member

Gama11 commented Jun 14, 2019

If you want to disable additional indent, it would be reasonable to try something like this:

{
	"wrapping": {
		"functionSignature": {
			"defaultAdditionalIndent": 0
		}
	}
}

However, that seems to also disable wrapping / change the default wrapping of defaultWrap. Works fine if you explicitly specify "defaultWrap": "fillLine".

I'm guessing the same happens with rules? Having to copy all of those would be unfortunate, since it would be quite verbose / redundant. Luckily in this case, there aren't any rules by default.

@Gama11 Gama11 added enhancement New feature or request wrapping Incorrect or undesirable wrapping labels Jun 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wrapping Incorrect or undesirable wrapping
Projects
None yet
Development

No branches or pull requests

1 participant