From: Kari Argillander <kari.argillander@gmail.com>
To: Jonathan Corbet <corbet@lwn.net>,
Andrew Morton <akpm@linux-foundation.org>
Cc: "Íñigo Huguet" <ihuguet@redhat.com>,
"Danny Lin" <danny@kdrag0n.dev>,
"Mickaël Salaün" <mic@digikod.net>,
"Masahiro Yamada" <masahiroy@kernel.org>,
linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
"Kari Argillander" <kari.argillander@gmail.com>
Subject: [PATCH] editorconfig: Add rst extension
Date: Fri, 19 Dec 2025 18:25:11 +0200 [thread overview]
Message-ID: <20251219-editorconfig-rst-v1-1-58d4fa397664@gmail.com> (raw)
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>
reply other threads:[~2025-12-19 16:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251219-editorconfig-rst-v1-1-58d4fa397664@gmail.com \
--to=kari.argillander@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=corbet@lwn.net \
--cc=danny@kdrag0n.dev \
--cc=ihuguet@redhat.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=masahiroy@kernel.org \
--cc=mic@digikod.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®