<foo/> are also comments in XML embedded Nasal mode
This commit is contained in:
parent
fa2387c05b
commit
403eaeb25e
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ if !exists("nasal_no_fgfs")
|
||||||
syn match nasalPropsFunction "\<props\.\(_\?globals\|Node\|nodeList\|initNode\|condition\)\>\.\="
|
syn match nasalPropsFunction "\<props\.\(_\?globals\|Node\|nodeList\|initNode\|condition\)\>\.\="
|
||||||
|
|
||||||
" mark obvious XML parts as comments (for editing XML embedded nasal)
|
" 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*<!\[CDATA\[\s*$"
|
||||||
syn match nasalComment "^\s*\]\]>\s*$"
|
syn match nasalComment "^\s*\]\]>\s*$"
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue