diff options
author | Vegard Nossum <vegard.nossum@oracle.com> | 2024-02-15 14:48:24 +0100 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2024-02-21 13:44:21 -0700 |
commit | a3a23d360cdd853b1038deda05e8d8c134a49a90 (patch) | |
tree | 083ba60a0dc4bfb41f78d3f86540e3fa1c6eb9b6 | |
parent | 3a5f1c3d832838b23a2df5f203bacf318d7362f2 (diff) | |
download | lwn-a3a23d360cdd853b1038deda05e8d8c134a49a90.tar.gz lwn-a3a23d360cdd853b1038deda05e8d8c134a49a90.zip |
scripts/kernel-doc: add modeline for vim users
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
-rwxr-xr-x | scripts/kernel-doc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/kernel-doc b/scripts/kernel-doc index a9947080ead3..4dc5c3909d8c 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; |