[pacman-dev] [PATCH] Remove "ts=2 sw=2" from Vim modelines for pacman-contrib
Jason St. John
jstjohn at purdue.edu
Fri Nov 16 21:06:39 EST 2012
From: "Jason St. John" <jstjohn at purdue.edu>
There is no reason to force a certain tab width on users. These settings
should be configured by the user in their own ~/.vimrc.
Signed-off-by: Jason St. John <jstjohn at purdue.edu>
---
contrib/Makefile.am | 2 +-
contrib/bacman.sh.in | 2 +-
contrib/paccache.sh.in | 2 +-
contrib/pacdiff.sh.in | 2 +-
contrib/paclist.sh.in | 2 +-
contrib/paclog-pkglist.sh.in | 2 +-
contrib/pacscripts.sh.in | 2 ++
contrib/pacsysclean.sh.in | 2 +-
contrib/rankmirrors.sh.in | 2 +-
contrib/updpkgsums.sh.in | 2 +-
10 files changed, 11 insertions(+), 9 deletions(-)
diff --git a/contrib/Makefile.am b/contrib/Makefile.am
index 3641a08..156bfac 100644
--- a/contrib/Makefile.am
+++ b/contrib/Makefile.am
@@ -104,4 +104,4 @@ rankmirrors: $(srcdir)/rankmirrors.sh.in
updpkgsums: $(srcdir)/updpkgsums.sh.in
zsh_completion: $(srcdir)/zsh_completion.in
-# vim:set ts=2 sw=2 noet:
+# vim:set noet:
diff --git a/contrib/bacman.sh.in b/contrib/bacman.sh.in
index 7895a40..aa210f7 100644
--- a/contrib/bacman.sh.in
+++ b/contrib/bacman.sh.in
@@ -304,4 +304,4 @@ echo Done
exit 0
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
diff --git a/contrib/paccache.sh.in b/contrib/paccache.sh.in
index e813655..15b7dff 100644
--- a/contrib/paccache.sh.in
+++ b/contrib/paccache.sh.in
@@ -317,4 +317,4 @@ fi
summarize "$pkgcount" "${candidates[@]}"
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
diff --git a/contrib/pacdiff.sh.in b/contrib/pacdiff.sh.in
index bfafda2..721ac90 100644
--- a/contrib/pacdiff.sh.in
+++ b/contrib/pacdiff.sh.in
@@ -89,4 +89,4 @@ done 3< <(cmd)
exit 0
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
diff --git a/contrib/paclist.sh.in b/contrib/paclist.sh.in
index 7883e21..f6f2eb5 100644
--- a/contrib/paclist.sh.in
+++ b/contrib/paclist.sh.in
@@ -61,4 +61,4 @@ pacman -Sl $1 | awk -v i="$installed" '$NF == i { print $2,$3 }'
# exit with pacman's return value, not awk's
exit ${PIPESTATUS[0]}
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
diff --git a/contrib/paclog-pkglist.sh.in b/contrib/paclog-pkglist.sh.in
index 222bbc4..3277a16 100644
--- a/contrib/paclog-pkglist.sh.in
+++ b/contrib/paclog-pkglist.sh.in
@@ -80,4 +80,4 @@ END {
}
}' | sort
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
diff --git a/contrib/pacscripts.sh.in b/contrib/pacscripts.sh.in
index 8468714..ed248d1 100644
--- a/contrib/pacscripts.sh.in
+++ b/contrib/pacscripts.sh.in
@@ -136,3 +136,5 @@ case "$1" in
--version|-V) version; exit 0 ;;
*) print_scriptlet $1 ;;
esac
+
+# vim:set noet:
diff --git a/contrib/pacsysclean.sh.in b/contrib/pacsysclean.sh.in
index 37219ab..2b9c788 100644
--- a/contrib/pacsysclean.sh.in
+++ b/contrib/pacsysclean.sh.in
@@ -61,4 +61,4 @@ function format_size(size) {
printf("%s\t%s\n", format_size($2), $1);
}'
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
diff --git a/contrib/rankmirrors.sh.in b/contrib/rankmirrors.sh.in
index 875a143..5c1c2bf 100644
--- a/contrib/rankmirrors.sh.in
+++ b/contrib/rankmirrors.sh.in
@@ -209,4 +209,4 @@ for line in "${linearray[@]}"; do
done
finaloutput
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
diff --git a/contrib/updpkgsums.sh.in b/contrib/updpkgsums.sh.in
index 33e04d9..43735e4 100755
--- a/contrib/updpkgsums.sh.in
+++ b/contrib/updpkgsums.sh.in
@@ -90,4 +90,4 @@ fi
' > "$buildfile"
} < "$buildfile"
-# vim: set ts=2 sw=2 noet:
+# vim: set noet:
--
1.8.0
More information about the pacman-dev
mailing list