d2-mode
d2-mode copied to clipboard
Make indentation configurable and default to d2 fmt indent
The d2 fmt will indent with 2 spaces, hence it is a good default.
This is one of my big annoyances with this mode, as I have auto-formatting enabled using d2 fmt. However that indentation is set to 4 and is not configurable. So the mode fights with the auto-indentation.