diff options
author | Florian Pritz <bluewind@xinu.at> | 2014-01-23 00:06:11 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2014-01-28 11:19:25 +0100 |
commit | cd2370754ae6893e6df4e835eeb819f827eaee4a (patch) | |
tree | b412e2908d83c1ad81928fb8b4d80c39341a6292 /contrib | |
parent | 83e14aeebde5edcf98b52b37cc4aa156a4f09608 (diff) | |
download | pacman-cd2370754ae6893e6df4e835eeb819f827eaee4a.tar.gz pacman-cd2370754ae6893e6df4e835eeb819f827eaee4a.tar.xz |
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 'contrib')
-rw-r--r-- | contrib/Makefile.am | 2 | ||||
-rw-r--r-- | contrib/bacman.sh.in | 2 | ||||
-rw-r--r-- | contrib/checkupdates.sh.in | 2 | ||||
-rw-r--r-- | contrib/paccache.sh.in | 2 | ||||
-rw-r--r-- | contrib/pacdiff.sh.in | 2 | ||||
-rw-r--r-- | contrib/paclist.sh.in | 2 | ||||
-rw-r--r-- | contrib/paclog-pkglist.sh.in | 2 | ||||
-rw-r--r-- | contrib/pacsysclean.sh.in | 2 | ||||
-rw-r--r-- | contrib/rankmirrors.sh.in | 2 | ||||
-rw-r--r-- | contrib/updpkgsums.sh.in | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/contrib/Makefile.am b/contrib/Makefile.am index 99baf951..f6ca3f11 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -107,4 +107,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 6779bfc5..14919422 100644 --- a/contrib/bacman.sh.in +++ b/contrib/bacman.sh.in @@ -355,4 +355,4 @@ msg "Done." exit 0 -# vim: set ts=2 sw=2 noet: +# vim: set noet: diff --git a/contrib/checkupdates.sh.in b/contrib/checkupdates.sh.in index 413b78ac..06e1b125 100644 --- a/contrib/checkupdates.sh.in +++ b/contrib/checkupdates.sh.in @@ -48,4 +48,4 @@ pacman -Qqu --dbpath "$CHECKUPDATES_DB" 2> /dev/null 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 7c844bb7..039ac8a2 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 3f62d914..c8fbe74b 100644 --- a/contrib/pacdiff.sh.in +++ b/contrib/pacdiff.sh.in @@ -191,4 +191,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 319dcba9..1c10b323 100644 --- a/contrib/paclist.sh.in +++ b/contrib/paclist.sh.in @@ -65,4 +65,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 aaa7586e..5d6f4be8 100644 --- a/contrib/paclog-pkglist.sh.in +++ b/contrib/paclog-pkglist.sh.in @@ -96,4 +96,4 @@ END { } }' | sort -# vim: set ts=2 sw=2 noet: +# vim: set noet: diff --git a/contrib/pacsysclean.sh.in b/contrib/pacsysclean.sh.in index 36319215..8f2eea38 100644 --- a/contrib/pacsysclean.sh.in +++ b/contrib/pacsysclean.sh.in @@ -63,4 +63,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 453ebfbe..7b50eb29 100644 --- a/contrib/rankmirrors.sh.in +++ b/contrib/rankmirrors.sh.in @@ -231,4 +231,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 0f52db4c..7e680b8e 100644 --- a/contrib/updpkgsums.sh.in +++ b/contrib/updpkgsums.sh.in @@ -94,4 +94,4 @@ fi ' > "$buildfile" } < "$buildfile" -# vim: set ts=2 sw=2 noet: +# vim: set noet: |