Skip to content

Commit 9556061

Browse files
committed
code style: update .editorconfig file
Updates the .editorconfig file, first introduced in 2021 (see PR bitcoin#21123, commit 7a135d5) w.r.t. following changes: - consider Rust .rs files (relevant since bitcoin#28076, commit bbbbdb0) - reflect build system change to CMake (bitcoin#30454, bitcoin#30664) - add setting for the bare Makefile still used for depends builds Can be tested e.g. by using the editorconfig-vim plugin (https://github.com/editorconfig/editorconfig-vim).
1 parent a5e9966 commit 9556061

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.editorconfig

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@ insert_final_newline = true
1010
trim_trailing_whitespace = true
1111

1212
# Source code files
13-
[*.{h,cpp,py,sh}]
13+
[*.{h,cpp,rs,py,sh}]
1414
indent_size = 4
1515

16-
# .cirrus.yml, .fuzzbuzz.yml, etc.
16+
# .cirrus.yml, etc.
1717
[*.yml]
1818
indent_size = 2
1919

20-
# Makefiles
21-
[{*.am,Makefile.*.include}]
20+
# Makefiles (only relevant for depends build)
21+
[Makefile]
2222
indent_style = tab
2323

24-
# Autoconf scripts
25-
[configure.ac]
24+
# CMake files
25+
[{CMakeLists.txt,*.cmake,*.cmake.in}]
2626
indent_size = 2

0 commit comments

Comments
 (0)