From: Steven Rostedt (VMware) Date: Mon, 22 Mar 2021 21:47:37 +0000 (-0400) Subject: scripts/recordmcount.pl: Make vim and emacs indent the same X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=b700fc3a63f16d6e130433fdcbe3f5f223c7662c;p=linux.git scripts/recordmcount.pl: Make vim and emacs indent the same 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" Signed-off-by: Steven Rostedt (VMware) --- diff --git a/scripts/recordmcount.pl b/scripts/recordmcount.pl index 5652da5e345ee..a5429b3dac247 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