Add .editorconfig and .dir-locals.el
This should hopefully get things more automatic for more editors. I didn't find in a quick search how to teach vim to DTRT by default. Closes: #56 Approved by: rhatdan
This commit is contained in:

committed by
Colin Walters (automation)

parent
4c18c78bf5
commit
8c24bf04d7
1
.dir-locals.el
Normal file
1
.dir-locals.el
Normal file
@@ -0,0 +1 @@
|
|||||||
|
((c-mode . ((indent-tabs-mode . nil) (c-file-style . "gnu"))))
|
6
.editorconfig
Normal file
6
.editorconfig
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
[*.[ch]]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
indent_brace_style = gnu
|
||||||
|
|
Reference in New Issue
Block a user