[PATCH] editorconfig: Add rst extension

Kari Argillander posted 1 patch 1 month, 2 weeks ago
.editorconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] editorconfig: Add rst extension
Posted by Kari Argillander 1 month, 2 weeks ago
We have a lot of .rst documentation; use editorconfig rules for those.
This sets the default tab width to 8, which makes indentation consistent
and avoids requiring developers to adjust editor settings manually.

Signed-off-by: Kari Argillander <kari.argillander@gmail.com>
---
If anyone knows why this should not be added to editorconfig I could
also send patch and document that to .editorconfig file so no one send
another patch because of this.
---
 .editorconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.editorconfig b/.editorconfig
index b5ea32b6954b..69718ac91747 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,6 +1,6 @@
 # SPDX-License-Identifier: GPL-2.0-only
 
-[{*.{awk,c,dts,dtsi,dtso,h,mk,s,S},Kconfig,Makefile,Makefile.*}]
+[{*.{awk,c,dts,dtsi,dtso,h,mk,rst,s,S},Kconfig,Makefile,Makefile.*}]
 charset = utf-8
 end_of_line = lf
 insert_final_newline = true

---
base-commit: cc3aa43b44bdb43dfbac0fcb51c56594a11338a8
change-id: 20251219-editorconfig-rst-652e40192486

Best regards,
-- 
Kari Argillander <kari.argillander@gmail.com>