Skip to content

Commit

Permalink
scripts/kernel-doc: add modeline for vim users
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Randy Dunlap <[email protected]>
Signed-off-by: Jonathan Corbet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
vegard authored and Jonathan Corbet committed Feb 21, 2024
1 parent 3a5f1c3 commit a3a23d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/kernel-doc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0
# vim: softtabstop=4

use warnings;
use strict;
Expand Down

0 comments on commit a3a23d3

Please sign in to comment.