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

Add a way to set the checking mode globally #427

Closed
maxrothman opened this issue Sep 7, 2022 · 4 comments
Closed

Add a way to set the checking mode globally #427

maxrothman opened this issue Sep 7, 2022 · 4 comments
Assignees
Labels
documentation I need to write something up! enhancement

Comments

@maxrothman
Copy link

set-dialect! allows dialect and quoting options to be set globally, but other options like :checking cannot be set globally. It would be nice if at least :checking, but possibly other options could also be set globally.

@seancorfield seancorfield self-assigned this Sep 8, 2022
seancorfield added a commit that referenced this issue Sep 11, 2022
@seancorfield
Copy link
Owner

I've added set-options!, which can set defaults for :checking, :inline, :quoted, and :quoted-snake.

I need to think about how/where exactly it needs documenting (beyond just the docstring) so I'll keep this issue open until I've completed that work. Feel free to try out the latest develop version or the latest SNAPSHOT on Clojars and provide feedback.

@seancorfield seancorfield added enhancement documentation I need to write something up! labels Sep 11, 2022
@seancorfield
Copy link
Owner

Looks like I messed that up a bit and now quoting is on by default. Will fix shortly.

@seancorfield
Copy link
Owner

@maxrothman
Copy link
Author

Wow, that was a fast turnaround! I’ll see about getting our usage upgraded and trying this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation I need to write something up! enhancement
Projects
None yet
Development

No branches or pull requests

2 participants