summaryrefslogtreecommitdiff
path: root/src/common
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/common
parent83e14aeebde5edcf98b52b37cc4aa156a4f09608 (diff)
downloadpacman-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 'src/common')
-rw-r--r--src/common/Makefile.am2
-rw-r--r--src/common/util-common.c2
-rw-r--r--src/common/util-common.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/common/Makefile.am b/src/common/Makefile.am
index 49503333..ba402b2d 100644
--- a/src/common/Makefile.am
+++ b/src/common/Makefile.am
@@ -1,4 +1,4 @@
EXTRA_DIST = \
util-common.h util-common.c
-# vim:set ts=2 sw=2 noet:
+# vim:set noet:
diff --git a/src/common/util-common.c b/src/common/util-common.c
index 5a162127..c5097ddf 100644
--- a/src/common/util-common.c
+++ b/src/common/util-common.c
@@ -107,4 +107,4 @@ char *strndup(const char *s, size_t n)
}
#endif
-/* vim: set ts=2 sw=2 noet: */
+/* vim: set noet: */
diff --git a/src/common/util-common.h b/src/common/util-common.h
index 6853f18e..e28c60d9 100644
--- a/src/common/util-common.h
+++ b/src/common/util-common.h
@@ -29,4 +29,4 @@ char *strndup(const char *s, size_t n);
#endif /* _PM_UTIL_COMMON_H */
-/* vim: set ts=2 sw=2 noet: */
+/* vim: set noet: */