mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] editorconfig: Add rst extension
@ 2025-12-19 16:25 Kari Argillander
  0 siblings, 0 replies; only message in thread
From: Kari Argillander @ 2025-12-19 16:25 UTC (permalink / raw)
  To: Jonathan Corbet, Andrew Morton
  Cc: Íñigo Huguet, Danny Lin, Mickaël Salaün,
	Masahiro Yamada, linux-doc, linux-kernel, Kari Argillander

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>


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-12-19 16:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-19 16:25 [PATCH] editorconfig: Add rst extension Kari Argillander

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®