summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
authorKari Argillander <kari.argillander@gmail.com>2025-12-19 18:25:11 +0200
committerAndrew Morton <akpm@linux-foundation.org>2026-01-26 19:07:09 -0800
commit0e7fd23f9293cee3c7f341498a0011d09c491510 (patch)
treee9bd3004c107203a35a16bc27c7ae8a05adb0494 /.editorconfig
parentc243413740b39b0cf0a88732de5efc2b45716d81 (diff)
downloadlinux-0e7fd23f9293cee3c7f341498a0011d09c491510.tar.gz
linux-0e7fd23f9293cee3c7f341498a0011d09c491510.zip
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. Link: https://lkml.kernel.org/r/20251219-editorconfig-rst-v1-1-58d4fa397664@gmail.com Signed-off-by: Kari Argillander <kari.argillander@gmail.com> Cc: Danny Lin <danny@kdrag0n.dev> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Masahiro Yamada <masahiroy@kernel.org> Cc: Mickael Salaun <mic@digikod.net> Cc: Íñigo Huguet <ihuguet@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig2
1 files changed, 1 insertions, 1 deletions
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