| 1 |
# For format see editorconfig.org |
| 2 |
# Copyright 2022 Collabora Ltd. |
| 3 |
# SPDX-License-Identifier: Zlib |
| 4 |
|
| 5 |
root = true |
| 6 |
|
| 7 |
[README.txt] |
| 8 |
end_of_line = crlf |
| 9 |
|
| 10 |
[*.{c,cc,cg,cpp,gradle,h,java,m,metal,pl,py,S,sh,txt}] |
| 11 |
indent_size = 4 |
| 12 |
indent_style = space |
| 13 |
insert_final_newline = true |
| 14 |
trim_trailing_whitespace = true |
| 15 |
|
| 16 |
[*.{html,js,json,m4,yml,yaml,vcxproj,vcxproj.filters}] |
| 17 |
indent_size = 2 |
| 18 |
indent_style = space |
| 19 |
trim_tailing_whitespace = true |
| 20 |
|
| 21 |
[{CMakeLists.txt,cmake/*.cmake}] |
| 22 |
indent_size = 2 |
| 23 |
indent_style = space |
| 24 |
insert_final_newline = true |
| 25 |
trim_trailing_whitespace = true |
| 26 |
|
| 27 |
[{cmake/*.cmake.in}] |
| 28 |
indent_size = 4 |
| 29 |
indent_style = space |
| 30 |
insert_final_newline = true |
| 31 |
trim_trailing_whitespace = true |
| 32 |
|
| 33 |
[{Makefile.*,*.mk,*.sln,*.pbxproj,*.plist}] |
| 34 |
indent_size = 8 |
| 35 |
indent_style = tab |
| 36 |
tab_width = 8 |
| 37 |
|
| 38 |
[*.{markdown,md}] |
| 39 |
indent_size = 4 |
| 40 |
indent_style = space |
| 41 |
# Markdown syntax treats tabs as 4 spaces |
| 42 |
tab_width = 4 |
| 43 |
|
| 44 |
[{*.bat,*.rc}] |
| 45 |
end_of_line = crlf |