Skip to content

Commit

Permalink
editorconfig: Add initial version
Browse files Browse the repository at this point in the history
EditorConfig is a special file that's handled by many editors and
can keep the configuration of the specifics of the project out of
the editor settings. This is really userfull if you work in more
than one project at a time, like we do.

KDevelop, Qt Creator, Vim, Emacs, Visual Studio Code, all have
native or plugin support for editorconfig.
  • Loading branch information
tcanabrava authored and patrickelectric committed Jul 25, 2019
1 parent 95f30d2 commit c3b8deb
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
root = true

[*]
end_of_line = lf
insert_final_newline = false
indent_style = space
max_line_length = 120
charset = utf-8

[*.{cpp,hpp,c,h}]
indent_width = 4

[*.qml]
indent_width = 4

0 comments on commit c3b8deb

Please sign in to comment.