streamline_config.pl: Fix Perl spacing
Status from this message: [merged] streamline_configpl-add-softtabstop=4-for-vim-users.patch removed from -mm tree
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | streamline_config.pl: Make spacing consistentscripts/ | +39 | 0 replies | Applied |
| 2/2 | streamline_config.pl: Add softtabstop=4 for vim usersscripts/ | +2 | 8 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] streamline_config.pl: Fix Perl spacing
Talking with John Hawley about how vim and emacs deal with Perl files with respect to tabs and spaces, I found that some of my Perl code in the kernel had inconsistent spacing. The way emacs handles Perl by default is to use 4 spaces per indent, but make all 8 spaces into a single tab. Vim does not do this by default. But if you add the vim variable control:
# vim: softtabstop=4
to a perl file, it makes vim behave the same way as emacs.
The first patch is to change all 8 spaces into a single tab (mostly from people editing the file with vim). The next patch adds the softtabstop variable to make vim act like emacs by default.
Steven Rostedt (VMware) (2):
streamline_config.pl: Make spacing consistent streamline_config.pl: Add softtabstop=4 for vim users
----
scripts/kconfig/streamline_config.pl | 80 ++++++++++++++++++------------------ 1 file changed, 41 insertions(+), 39 deletions(-)