r385 - trunk/vim/debian/runtime

Stefano Zacchiroli zack at costa.debian.org
Tue Oct 25 18:20:23 UTC 2005


Author: zack
Date: 2005-10-25 18:20:22 +0000 (Tue, 25 Oct 2005)
New Revision: 385

Modified:
   trunk/vim/debian/runtime/vimrc
Log:
towards vim-tiny: au commands in vimrc can be used only if has("autocmd") (which vim-tiny wont probably have)


Modified: trunk/vim/debian/runtime/vimrc
===================================================================
--- trunk/vim/debian/runtime/vimrc	2005-10-25 17:44:17 UTC (rev 384)
+++ trunk/vim/debian/runtime/vimrc	2005-10-25 18:20:22 UTC (rev 385)
@@ -46,10 +46,12 @@
 endif " has ("autocmd")
 
 " Some Debian-specific things
-augroup filetype
-  au BufRead reportbug.*		set ft=mail
-  au BufRead reportbug-*		set ft=mail
-augroup END
+if has("autocmd")
+  augroup filetype
+    au BufRead reportbug.*		set ft=mail
+    au BufRead reportbug-*		set ft=mail
+  augroup END
+endif
 
 " Set paper size from /etc/papersize if available (Debian-specific)
 if filereadable("/etc/papersize")




More information about the pkg-vim-maintainers mailing list