-
Notifications
You must be signed in to change notification settings - Fork 39
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
Make everything inner, but keep multi-arity alignment #85
Labels
Comments
Hi Wilker, I'm experimenting with this config, which seems to achieve what you're looking for: {:rules
{:whitespace {:remove-surrounding? true
:remove-trailing? true
:insert-missing? true}
:indentation {:indents {#"^:?require$" [[:inner 0]]
#"^:?import$" [[:inner 0]]
#"^:?use$" [[:inner 0]]
#"^[^ \[]" [[:inner 0]]
or [[:block 0]]
and [[:block 0]]
do [[:block 0]]}}
:vars {:enabled? false}
:namespaces {:enabled? false}}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, in my configurations of cljstyle I would like for most things to use
[[:ident 0]]
format, so the basics would start like:The issue I have is after doing this, a multi-arity fn starts to get indent in a weird way:
Is there a way to keep the wildcard but still use a single space in the case of multi-arity fn?
The text was updated successfully, but these errors were encountered: