added DLang to EditorConfig
This commit is contained in:
parent
55814cb408
commit
d64236dbad
@ -40,6 +40,23 @@ indent_size = 2
|
|||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
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,v.mod}]
|
[{*.v,v.mod}]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
17
code/D/.editorconfig
Normal file
17
code/D/.editorconfig
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user