On 2004.09.20, Jeremy Vinding <[EMAIL PROTECTED]> wrote: > > hmm... i wonder where I got the one I use then. > it does tcl mode between <% and %> > > I'll attach it ...
> " Vim syntax file > " Language: ADP (AOLServer Dynamic Pages) > " Maintainer: Mark Aufflick <[EMAIL PROTECTED]> > " URL: http://pumptheory.com/mark/src/vim/syntax/adp.vim > " Last change: 2001 Aug 13 > " Credits : Based on jsp.vim by Rafael Garcia-Suarez <[EMAIL PROTECTED]> Awesome. This defines main_syntax as "adp" and pulls in html.vim and tcl.vim -- exactly what I was suggesting. Here's the magic: > syn region adpScriptlet matchgroup=adpTag start=/<%/ keepend end=/%>/ [EMAIL > PROTECTED] > syn region adpExpr matchgroup=adpTag start=/<%=/ keepend end=/%>/ [EMAIL > PROTECTED] This is actuall better than the adp.vim I hacked together on my own -- thanks for sharing it with us, Jeremy. And, obviously, thanks to Mark for putting it together. -- Dossy -- Dossy Shiobara mail: [EMAIL PROTECTED] Panoptic Computer Network web: http://www.panoptic.com/ "He realized the fastest way to change is to laugh at your own folly -- then you can let go and quickly move on." (p. 70) -- AOLserver - http://www.aolserver.com/ To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of your email blank.
