kamadorueda / alejandra

The Uncompromising Nix Code Formatter
https://kamadorueda.github.io/alejandra/
The Unlicense
859 stars 41 forks source link

Add custom indentation length support #431

Open 3timeslazy opened 2 weeks ago

3timeslazy commented 2 weeks ago

The PR introduces new --indent flag. The flag's value follows the pattern {number}{t | s}, where

Examples:

Addresses: https://github.com/kamadorueda/alejandra/issues/415

The flag above is my proposal, but I’m open to any alternatives :)