Skip to content
This repository has been archived by the owner on Apr 18, 2023. It is now read-only.

Commit

Permalink
Add .editorconfig (see editorconfig.org) (#2943)
Browse files Browse the repository at this point in the history
This file uses the same settings which we currently have in our vim modeline,
but can be picked up by many different editors without having to add and
maintain editor-specific modelines in all of our source files.
  • Loading branch information
stapelberg committed Sep 13, 2017
1 parent 17627a5 commit 100fad7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .editorconfig
@@ -0,0 +1,11 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8

[*.{c,h}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

0 comments on commit 100fad7

Please sign in to comment.