From 15f402004bae6cab5712969e24a149f57b77ae88 Mon Sep 17 00:00:00 2001 From: Vegard Nossum Date: Tue, 11 Mar 2025 08:51:19 +0900 Subject: [PATCH] scripts/kernel-doc: add modeline for vim users BugLink: https://bugs.launchpad.net/bugs/2101915 Set 'softtabstop' to 4 spaces, which will hopefully help keep the indentation in this file consistent going forwards. This mirrors the modeline in scripts such as recordmcount.pl, ktest.pl, and others. Emacs seems to use 4 spaces to indent by default, so it doesn't require anything special here. No functional change. Signed-off-by: Vegard Nossum Reviewed-by: Randy Dunlap Signed-off-by: Jonathan Corbet Link: https://lore.kernel.org/r/20240215134828.1277109-2-vegard.nossum@oracle.com (cherry picked from commit a3a23d360cdd853b1038deda05e8d8c134a49a90) [koichiroden: prereq for "kernel-doc: allow object-like macros in ReST output"] Signed-off-by: Koichiro Den Signed-off-by: Stefan Bader --- scripts/kernel-doc | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/kernel-doc b/scripts/kernel-doc index d804e4de5d99..e14f8344e590 100755 --- a/scripts/kernel-doc +++ b/scripts/kernel-doc @@ -1,5 +1,6 @@ #!/usr/bin/env perl # SPDX-License-Identifier: GPL-2.0 +# vim: softtabstop=4 use warnings; use strict;