From: Kari Argillander Date: Fri, 19 Dec 2025 16:25:11 +0000 (+0200) Subject: editorconfig: add rst extension X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e7fd23f9293cee3c7f341498a0011d09c491510;p=thirdparty%2Fkernel%2Flinux.git 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 Cc: Danny Lin Cc: Jonathan Corbet Cc: Masahiro Yamada Cc: Mickael Salaun Cc: Íñigo Huguet Signed-off-by: Andrew Morton --- diff --git a/.editorconfig b/.editorconfig index b5ea32b6954b9..69718ac91747a 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