mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
more selective editorconfig
- only apply config to C and D source files
This commit is contained in:
parent
647e7f1342
commit
f76f28c5cf
1 changed files with 3 additions and 9 deletions
|
@ -1,15 +1,9 @@
|
||||||
root = true
|
root = true
|
||||||
|
|
||||||
; Standard conventions for the D programming language repository are:
|
[*.{c,h,d,di,dd}]
|
||||||
; no tab characters
|
end_of_line = lf
|
||||||
; indents are by 4 spaces
|
insert_final_newline = true
|
||||||
; line endings are LF
|
|
||||||
; no trailing whitespace
|
|
||||||
; last character in file is an LF
|
|
||||||
[*]
|
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
insert_final_newline = true
|
|
||||||
charset = utf-8
|
charset = utf-8
|
||||||
end_of_line = lf
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue