Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-01-23 00:06:11 +0100
committerAllan McRae <allan@archlinux.org>2014-01-28 20:19:25 +1000
commitcd2370754ae6893e6df4e835eeb819f827eaee4a (patch)
treeb412e2908d83c1ad81928fb8b4d80c39341a6292 /scripts
parent83e14aeebde5edcf98b52b37cc4aa156a4f09608 (diff)
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 <bluewind@xinu.at> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/Makefile.am2
-rw-r--r--scripts/makepkg.sh.in2
-rw-r--r--scripts/pacman-db-upgrade.sh.in2
-rw-r--r--scripts/pacman-key.sh.in2
-rw-r--r--scripts/pacman-optimize.sh.in2
-rw-r--r--scripts/pkgdelta.sh.in2
-rw-r--r--scripts/repo-add.sh.in2
7 files changed, 7 insertions, 7 deletions
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: