scripts/recordmcount.pl: Make vim and emacs indent the same
authorSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 22 Mar 2021 21:47:37 +0000 (17:47 -0400)
committerSteven Rostedt (VMware) <rostedt@goodmis.org>
Mon, 22 Mar 2021 21:51:16 +0000 (17:51 -0400)
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@kernel.org>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
scripts/recordmcount.pl

index 5652da5e345eebb99a426ba9a3f607e0fba1212b..a5429b3dac247556305417918258fbc748d9ddb9 100755 (executable)
@@ -642,3 +642,5 @@ if ($#converts >= 0) {
 `$rm $mcount_o $mcount_s`;
 
 exit(0);
+
+# vim: softtabstop=4