From d64236dbad062f562425a6cc3491518c30782dbe Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 30 Mar 2025 03:10:34 +0300 Subject: [PATCH] added DLang to EditorConfig --- .editorconfig | 17 +++++++++++++++++ code/D/.editorconfig | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 code/D/.editorconfig diff --git a/.editorconfig b/.editorconfig index dde5ea4..c0b8097 100644 --- a/.editorconfig +++ b/.editorconfig @@ -40,6 +40,23 @@ indent_size = 2 indent_style = space indent_size = 2 +# D +[*.d] +dfmt_align_switch_statements = true +dfmt_brace_style = allman +dfmt_outdent_attributes = true +dfmt_outdent_labels = true +dfmt_soft_max_line_length = 80 +dfmt_space_after_cast = true +dfmt_space_after_keywords = true +dfmt_split_operator_at_line_end = false +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +max_line_length = 132 +tab_width = 8 + # V [{*.v,v.mod}] indent_style = tab diff --git a/code/D/.editorconfig b/code/D/.editorconfig new file mode 100644 index 0000000..ac75095 --- /dev/null +++ b/code/D/.editorconfig @@ -0,0 +1,17 @@ +root = true + +[*.d] +dfmt_align_switch_statements = true +dfmt_brace_style = allman +dfmt_outdent_attributes = true +dfmt_outdent_labels = true +dfmt_soft_max_line_length = 80 +dfmt_space_after_cast = true +dfmt_space_after_keywords = true +dfmt_split_operator_at_line_end = false +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +max_line_length = 132 +tab_width = 8