]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
scripts/kernel-doc: add modeline for vim users
authorVegard Nossum <vegard.nossum@oracle.com>
Thu, 15 Feb 2024 13:48:24 +0000 (14:48 +0100)
committerJonathan Corbet <corbet@lwn.net>
Wed, 21 Feb 2024 20:44:21 +0000 (13:44 -0700)
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 <vegard.nossum@oracle.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/20240215134828.1277109-2-vegard.nossum@oracle.com
scripts/kernel-doc

index a9947080ead3ca7654d4c4f1cf409cf81274c6c6..4dc5c3909d8c421c9b08af9644b384c3d3032baa 100755 (executable)
@@ -1,5 +1,6 @@
 #!/usr/bin/env perl
 # SPDX-License-Identifier: GPL-2.0
+# vim: softtabstop=4
 
 use warnings;
 use strict;