We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The usage of a .cljfmt.edn configuration map overrides all formatting defaults Calva normally uses when there is no edn file.
For example, assuming you have you configuration path properly set, create a file .cljfmt.edn with the following content:
.cljfmt.edn
{:test {:a 1 :b 2}}
If you tab in here your formatter will apply and change the file to
Calva, by default, uses :align-associative? as false. So, here we can see the defaulting has not been respected.
:align-associative?
false
This also hints at a problem that the non-inclusion of a key-value pair in the map is actually read as truthy by the config-reader.
The text was updated successfully, but these errors were encountered:
Thanks! This certainly material for tripping up users!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The usage of a .cljfmt.edn configuration map overrides all formatting defaults Calva normally uses when there is no edn file.
For example, assuming you have you configuration path properly set, create a file
.cljfmt.edn
with the following content:If you tab in here your formatter will apply and change the file to
Calva, by default, uses
:align-associative?
asfalse
. So, here we can see the defaulting has not been respected.This also hints at a problem that the non-inclusion of a key-value pair in the map is actually read as truthy by the config-reader.
The text was updated successfully, but these errors were encountered: