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 --- scripts/Makefile.am | 2 +- scripts/makepkg.sh.in | 2 +- scripts/pacman-db-upgrade.sh.in | 2 +- scripts/pacman-key.sh.in | 2 +- scripts/pacman-optimize.sh.in | 2 +- scripts/pkgdelta.sh.in | 2 +- scripts/repo-add.sh.in | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'scripts') diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 81307045..5d69993e 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -161,4 +161,4 @@ uninstall-hook: cd $(DESTDIR)$(bindir) && \ $(RM) repo-remove repo-elephant -# vim:set ts=2 sw=2 noet: +# vim:set noet: diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 112c3e0d..7d8a676b 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -3063,4 +3063,4 @@ install_package exit 0 #E_OK -# vim: set ts=2 sw=2 noet: +# vim: set noet: diff --git a/scripts/pacman-db-upgrade.sh.in b/scripts/pacman-db-upgrade.sh.in index 1a7c2584..b0b0ac80 100644 --- a/scripts/pacman-db-upgrade.sh.in +++ b/scripts/pacman-db-upgrade.sh.in @@ -127,4 +127,4 @@ fi # remove the lock file rm -f "$lockfile" -# vim: set ts=2 sw=2 noet: +# vim: set noet: diff --git a/scripts/pacman-key.sh.in b/scripts/pacman-key.sh.in index 27410b8a..82340f9f 100644 --- a/scripts/pacman-key.sh.in +++ b/scripts/pacman-key.sh.in @@ -627,4 +627,4 @@ fi exit 0 -# vim: set ts=2 sw=2 noet: +# vim: set noet: diff --git a/scripts/pacman-optimize.sh.in b/scripts/pacman-optimize.sh.in index f0e82228..93742695 100644 --- a/scripts/pacman-optimize.sh.in +++ b/scripts/pacman-optimize.sh.in @@ -186,4 +186,4 @@ echo exit 0 -# vim: set ts=2 sw=2 noet: +# vim: set noet: diff --git a/scripts/pkgdelta.sh.in b/scripts/pkgdelta.sh.in index cc1f9ac2..be49326e 100644 --- a/scripts/pkgdelta.sh.in +++ b/scripts/pkgdelta.sh.in @@ -223,4 +223,4 @@ fi create_xdelta "$@" -# vim: set ts=2 sw=2 noet: +# vim: set noet: diff --git a/scripts/repo-add.sh.in b/scripts/repo-add.sh.in index dfa8b169..dd3dba3e 100644 --- a/scripts/repo-add.sh.in +++ b/scripts/repo-add.sh.in @@ -739,4 +739,4 @@ else fi exit 0 -# vim: set ts=2 sw=2 noet: +# vim: set noet: -- cgit v1.2.3-24-g4f1b