1
0
Fork 0

<foo/> are also comments in XML embedded Nasal mode

This commit is contained in:
mfranz 2008-08-05 05:23:16 +00:00
parent fa2387c05b
commit 403eaeb25e

View file

@ -87,7 +87,7 @@ if !exists("nasal_no_fgfs")
syn match nasalPropsFunction "\<props\.\(_\?globals\|Node\|nodeList\|initNode\|condition\)\>\.\="
" mark obvious XML parts as comments (for editing XML embedded nasal)
syn match nasalComment "^\s*</\?[[:alnum:]!].*[[:alnum:]\"-]>\s*$"
syn match nasalComment "^\s*</\?[[:alnum:]!].*[[:alnum:]\"-]/\?>\s*$"
syn match nasalComment "^\s*<!\[CDATA\[\s*$"
syn match nasalComment "^\s*\]\]>\s*$"
endif