-
Notifications
You must be signed in to change notification settings - Fork 49
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
can't easily extend sets in option maps #4
Comments
I would recommend you to take a look at https://github.com/weavejester/meta-merge because if you make this additive how would you remove things from the set? |
Thanks for the comment. You make a good point about removing things. I would like to think that I would have thought of that when I went to fix this bug, but there is no guarantee of that. I'll give this some more thought -- particularly since I'm thinking that I may need another set or maybe two to handle some of the different formatting issues that have come up recently. |
This is fixed in 0.2.10. Thanks for the pointer to the I also changed the way you add to sets, so now you don't have to replace the entire set, but anything you put into one of the three sets ( |
In particular, you can't do this:
(set-options! {:fn-force-nl #{:binding}})
, and have it add to the existing set that is the value for:fn-force-nl
. At present it replaces the set that is there, and it should not. It should operate just like the maps to. This isn't just forset-options!
, it is true of any options map -- the command line, lein-zprint, etc.The text was updated successfully, but these errors were encountered: