Hello vim users,

I am writing a syntax file for coco (coffeescript-like language for
javascript), and have had issues with contains/containedin that are not
respected.

E.g. :
syntax region javaScriptDocComment    start="/\*\*\s*$"  end="\*/"
contains=javaScriptDocTags,javaScriptCommentTodo,javaScriptCvsTag,@javaScriptHtml,@Spell
fold
syntax match  javaScriptDocTags       contained
"@\(param\|argument\|requires\|exception\|throws\|type\|class\|extends\|see\|link\|member\|module\|method\|title\|namespace\|optional\|default\|base\|file\)\>"
nextgroup=javaScriptDocParam,javaScriptDocSeeTag skipwhite
syntax match  javaScriptDocTags       contained
"@\(beta\|deprecated\|description\|fileoverview\|author\|license\|version\|returns\=\|constructor\|private\|protected\|final\|ignore\|addon\|exec\)\>"
syntax match  javaScriptDocParam      contained "\%(#\|\w\|\.\|:\|\/\)\+"
syntax region javaScriptDocSeeTag     contained
matchgroup=javaScriptDocSeeTag start="{" end="}" contains=javaScriptDocTags

But for exemple @title in the code still gets highlighted like if it were in
a Javascript doctag.

What am I doing wrong ?


*
*
*
*
--
*Christophe Eymard*
(+34) 65 983 21 36
(+34) 93 390 61 47
[email protected]
http://www.ravelsoft.com/
 <http://www.ravelsoft.com>


Aviso Legal: El contenido de este mensaje de correo electrónico, incluidos
los ficheros adjuntos, es confidencial y está protegido por el artículo 18.3
de la Constitución Española, que garantiza el secreto de las comunicaciones.
Si usted recibe este mensaje por error, por favor póngase en contacto con el
remitente para informarle de este hecho, y no difunda su contenido ni haga
copias.

Legal Notice: The information transmitted is intended only for the person to
whom or entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or other use
of, or taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you received
this in error, please contact the sender by e-mail reply or by phone and
delete all copies of the material.

Mentions Légales: Ce message et toutes les pièces jointes sont confidentiels
ou même couverts par le secret professionnel et transmis à l'intention
exclusive de leurs destinataires. Toute modification, édition, utilisation
ou diffusion non autorisée est interdite. Si vous avez reçu ce Message par
erreur, merci de nous en avertir immédiatement soit en répondant à ce
courrier, soit par téléphone. RavelSoft décline toute responsabilité au
titre de ce Message s'il a été altéré, déformé, falsifié ou encore édité ou
diffusé sans autorisation.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to