[for-next][PATCH 2/6] scripts/recordmcount.pl: Make vim and emacs indent the same
From: Steven Rostedt
Date: Fri Mar 26 2021 - 17:30:27 EST
From: "Steven Rostedt (VMware)" <rostedt@xxxxxxxxxxx>
By default, emacs indents Perl files with 4 spaces, but will use tabs
where 8 spaces are used. Add a vim command of softtabstop=4, to make vim
behave the same. This should remove the issue of developers using vim
having causing different indentation.
"John (Warthog9) Hawley" <warthog9@xxxxxxxxxx>
Signed-off-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>
---
scripts/recordmcount.pl | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl
index 5652da5e345e..a5429b3dac24 100755
--- a/scripts/recordmcount.pl
+++ b/scripts/recordmcount.pl
@@ -642,3 +642,5 @@ if ($#converts >= 0) {
`$rm $mcount_o $mcount_s`;
exit(0);
+
+# vim: softtabstop=4
--
2.30.1