Your message dated Sat, 12 Aug 2006 10:27:47 -0400
with message-id <[EMAIL PROTECTED]>
has caused the Debian Bug report #382541,
regarding please add rest2web filetype detection
to be marked as having been forwarded to the upstream software
author(s) Bram Moolenaar <[EMAIL PROTECTED]>.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Bram,

Would you consider the attached patch to scripts.vim to recognize
rest2web files[0] as rst filetype?

Thanks,

James
[0] - http://www.voidspace.org.uk/python/rest2web/
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[EMAIL PROTECTED]>
Index: vim/runtime/scripts.vim
===================================================================
--- vim/runtime/scripts.vim.orig
+++ vim/runtime/scripts.vim
@@ -309,6 +309,14 @@
   elseif s:line1 =~ 'exec\s\+\S*scheme' || s:line2 =~ 'exec\s\+\S*scheme'
     set ft=scheme
 
+  " rest2web
+  elseif s:line1 =~ '^rest2web\>'
+       \ || s:line2 =~ '^rest2web\>'
+       \ || s:line3 =~ '^rest2web\>'
+       \ || s:line4 =~ '^rest2web\>'
+       \ || s:line5 =~ '^rest2web\>'
+    set ft=rst
+
   " CVS diff
   else
     let lnum = 1

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to