Skip to content

Commit

Permalink
Add .editorconfig file
Browse files Browse the repository at this point in the history
See http://editorconfig.org

Change-Id: Ia571ca5d53fb9f02bd8d208b922c8ec5ef1939e5
Reviewed-on: https://gerrit.libreoffice.org/28962
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
  • Loading branch information
smehrbrodt committed Sep 19, 2016
1 parent f0207e3 commit b1e9c9a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .editorconfig
@@ -0,0 +1,25 @@
# EditorConfig: http://EditorConfig.org

# top-most EditorConfig file
root = true

# General settings
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true

# Source code files
[*.{c,cxx,cpp,h,hxx,hpp,java,py}]
indent_style = space
indent_size = 4

# Makefiles
[{Makefile,*.mk}]
indent_style = tab
trim_trailing_whitespace = false

# Patch files
[*.patch.*]
trim_trailing_whitespace = false

0 comments on commit b1e9c9a

Please sign in to comment.