From cd2370754ae6893e6df4e835eeb819f827eaee4a Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Thu, 23 Jan 2014 00:06:11 +0100 Subject: Remove ts and sw from vim modeline when noet is set Forcing vim users to view files with a tabstop of 2 seems really unnecessary when noet is set. I find it much easier to read code with ts=4 and I dislike having to override the modeline by hand. Command run: find . -type f -exec sed -i '/vim.* noet/s# ts=2 sw=2##' {} + Signed-off-by: Florian Pritz Signed-off-by: Allan McRae --- test/pacman/Makefile.am | 2 +- test/pacman/tests/Makefile.am | 2 +- test/scripts/Makefile.am | 2 +- test/util/Makefile.am | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'test') diff --git a/test/pacman/Makefile.am b/test/pacman/Makefile.am index 55e3c7a8..f71333c4 100644 --- a/test/pacman/Makefile.am +++ b/test/pacman/Makefile.am @@ -20,4 +20,4 @@ EXTRA_DIST = \ ldconfig.stub \ $(check_SCRIPTS) -# vim:set ts=2 sw=2 noet: +# vim:set noet: diff --git a/test/pacman/tests/Makefile.am b/test/pacman/tests/Makefile.am index 9ab0c777..dba84e3d 100644 --- a/test/pacman/tests/Makefile.am +++ b/test/pacman/tests/Makefile.am @@ -22,4 +22,4 @@ $(CONFTESTS): Makefile $(AM_V_at)chmod a-w $@.tmp $(AM_V_at)mv $@.tmp $@ -# vim:set ts=2 sw=2 noet: +# vim:set noet: diff --git a/test/scripts/Makefile.am b/test/scripts/Makefile.am index d525d894..5dca9a46 100644 --- a/test/scripts/Makefile.am +++ b/test/scripts/Makefile.am @@ -7,4 +7,4 @@ noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = \ $(check_SCRIPTS) -# vim:set ts=2 sw=2 noet: +# vim:set noet: diff --git a/test/util/Makefile.am b/test/util/Makefile.am index 5839f37e..0a9f7ead 100644 --- a/test/util/Makefile.am +++ b/test/util/Makefile.am @@ -7,4 +7,4 @@ noinst_SCRIPTS = $(check_SCRIPTS) EXTRA_DIST = \ $(check_SCRIPTS) -# vim:set ts=2 sw=2 noet: +# vim:set noet: -- cgit v1.2.3-54-g00ecf