[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20251219-editorconfig-rst-v1-1-58d4fa397664@gmail.com>
Date: Fri, 19 Dec 2025 18:25:11 +0200
From: Kari Argillander <kari.argillander@...il.com>
To: Jonathan Corbet <corbet@....net>,
Andrew Morton <akpm@...ux-foundation.org>
Cc: Íñigo Huguet <ihuguet@...hat.com>,
Danny Lin <danny@...ag0n.dev>,
Mickaël Salaün <mic@...ikod.net>,
Masahiro Yamada <masahiroy@...nel.org>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, Kari Argillander <kari.argillander@...il.com>
Subject: [PATCH] editorconfig: Add rst extension
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@...il.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@...il.com>
Powered by blists - more mailing lists