little hack for auto hl in vim
authorPierre Habouzit <madcoder@debian.org>
Tue, 21 Oct 2003 20:31:42 +0000 (20:31 +0000)
committerPierre Habouzit <madcoder@debian.org>
Tue, 21 Oct 2003 20:31:42 +0000 (20:31 +0000)
philter/philter/include/filter.inc.php

index 088d212..34c9297 100644 (file)
@@ -49,7 +49,10 @@ class Filter {
     
     function to_string() {
         global $mail_pool,$philter;
-        $res = ":0 f\n"
+        $res = "# generated by philter\n"
+            .  "# vim:set syntax=procmail:\n"
+            .  "\n"
+            .  ":0 f\n"
             .  "|formail -I'X-Philter-Or'\n"
             .  "\n";