Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/src/util
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 /src/util
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 'src/util')
-rw-r--r--src/util/Makefile.am2
-rw-r--r--src/util/cleanupdelta.c2
-rw-r--r--src/util/pacsort.c2
-rw-r--r--src/util/pactree.c2
-rw-r--r--src/util/testdb.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index d539fa26..a0075887 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -35,4 +35,4 @@ testpkg_LDADD = $(top_builddir)/lib/libalpm/.libs/libalpm.la
vercmp_SOURCES = vercmp.c
vercmp_LDADD = $(top_builddir)/lib/libalpm/libalpm_la-version.lo
-# vim:set ts=2 sw=2 noet:
+# vim:set noet:
diff --git a/src/util/cleanupdelta.c b/src/util/cleanupdelta.c
index b57b2038..4a67fc38 100644
--- a/src/util/cleanupdelta.c
+++ b/src/util/cleanupdelta.c
@@ -134,4 +134,4 @@ int main(int argc, char *argv[])
cleanup(0);
}
-/* vim: set ts=2 sw=2 noet: */
+/* vim: set noet: */
diff --git a/src/util/pacsort.c b/src/util/pacsort.c
index 443e822e..948b03d3 100644
--- a/src/util/pacsort.c
+++ b/src/util/pacsort.c
@@ -458,4 +458,4 @@ int main(int argc, char *argv[])
return 0;
}
-/* vim: set ts=2 sw=2 noet: */
+/* vim: set noet: */
diff --git a/src/util/pactree.c b/src/util/pactree.c
index bd6e9dd9..4192999d 100644
--- a/src/util/pactree.c
+++ b/src/util/pactree.c
@@ -559,4 +559,4 @@ finish:
return ret;
}
-/* vim: set ts=2 sw=2 noet: */
+/* vim: set noet: */
diff --git a/src/util/testdb.c b/src/util/testdb.c
index 53cdb3c1..e3b331ab 100644
--- a/src/util/testdb.c
+++ b/src/util/testdb.c
@@ -294,4 +294,4 @@ int main(int argc, char *argv[])
cleanup(errors > 0);
}
-/* vim: set ts=2 sw=2 noet: */
+/* vim: set noet: */