Skip to content

Commit

Permalink
Add dfmt directives to .editorconfig.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-ludwig committed Jan 8, 2025
1 parent 3cea222 commit 232e55e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,13 @@ indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
charset = utf-8

[*.{d,di}]
dfmt_brace_style = knr
dfmt_keep_line_breaks = true
dfmt_single_template_constraint_indent = true
dfmt_single_indent = true
dfmt_template_constraint_style = conditional_newline_indent
dfmt_compact_labeled_statements = false
dfmt_space_after_cast = false
dfmt_align_switch_statements = false

0 comments on commit 232e55e

Please sign in to comment.