-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support two space list indentation via a new opt
- Added config option `:function-arguments-indentation`, with 3 possible values: `:community`, `:cursive`, or `:zprint`. - This controls the behaviour described in https://guide.clojure.style/#one-space-indent - When set to `:community` (or not set), current behaviour is unchanged - When set to `:cursive`, or `:zprint`, function arguments will be indented 2 spaces when there are no arguments on the same line as the function name. - See README difference between `:cursive` and `:zprint` is how they behave for - Added a CLI flag to control this new config - Added tests
- Loading branch information
Showing
4 changed files
with
432 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.