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:
parent
4c18c78bf5
commit
8c24bf04d7
|
@ -0,0 +1 @@
|
|||
((c-mode . ((indent-tabs-mode . nil) (c-file-style . "gnu"))))
|
|
@ -0,0 +1,6 @@
|
|||
[*.[ch]]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
trim_trailing_whitespace = true
|
||||
indent_brace_style = gnu
|
||||
|
Loading…
Reference in New Issue