mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 01:42:58 +01:00
code style: update .editorconfig file
Updates the .editorconfig file, first introduced in 2021 (see PR #21123, commit7a135d57
) w.r.t. following changes: - consider Rust .rs files (relevant since #28076, commitbbbbdb0c
) - reflect build system change to CMake (#30454, #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).
This commit is contained in:
parent
a5e99669cc
commit
95560616fb
@ -10,17 +10,17 @@ insert_final_newline = true
|
|||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
# Source code files
|
# Source code files
|
||||||
[*.{h,cpp,py,sh}]
|
[*.{h,cpp,rs,py,sh}]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
# .cirrus.yml, .fuzzbuzz.yml, etc.
|
# .cirrus.yml, etc.
|
||||||
[*.yml]
|
[*.yml]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
|
||||||
# Makefiles
|
# Makefiles (only relevant for depends build)
|
||||||
[{*.am,Makefile.*.include}]
|
[Makefile]
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
# Autoconf scripts
|
# CMake files
|
||||||
[configure.ac]
|
[{CMakeLists.txt,*.cmake,*.cmake.in}]
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
Loading…
Reference in New Issue
Block a user