ruby.patch 661 B

1234567891011121314151617181920
  1. --- states/hl/enscript.st.orig 2006-12-17 02:10:37.000000000 +0100
  2. +++ states/hl/enscript.st 2006-12-17 02:10:13.000000000 +0100
  3. @@ -489,6 +489,7 @@
  4. /\.idl$/ idl;
  5. /\.(hs|lhs|gs|lgs)$/ haskell;
  6. /\.(pm|pl)$/ perl;
  7. + /\.(rb|rbw)$/ ruby;
  8. /\.(eps|EPS|ps|PS)$/ postscript;
  9. /\.py$/ python;
  10. /\.pyx$/ pyrex;
  11. @@ -531,6 +532,8 @@
  12. /-\*- [Ii][Dd][Ll] -\*-/ idl;
  13. /-\*- [Pp][Ee][Rr][Ll] -\*-/ perl;
  14. /^#![ \t]*\/.*\/perl/ perl;
  15. + /-\*- [Rr][Uu][Bb][Yy] -\*-/ ruby;
  16. + /^#![ \t]*\/.*\/ruby/ ruby;
  17. /^From:/ mail;
  18. /^#![ \t]*(\/usr)?\/bin\/[ngmt]?awk/ awk;
  19. /^#![ \t]*(\/usr)?\/bin\/sh/ sh;