mark obvious XML tags as comments
This commit is contained in:
parent
b1dd2eed8c
commit
15bc6dbe21
1 changed files with 5 additions and 0 deletions
|
@ -85,6 +85,11 @@ if !exists("nasal_no_fgfs")
|
||||||
syn keyword nasalPropsFunction removeChild removeChildren getNode
|
syn keyword nasalPropsFunction removeChild removeChildren getNode
|
||||||
syn keyword nasalPropsFunction getPath getBoolValue setValues getValues
|
syn keyword nasalPropsFunction getPath getBoolValue setValues getValues
|
||||||
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)
|
||||||
|
syn match nasalComment "^\s*</\?[[:alnum:]!].*[[:alnum:]\"-]>\s*$"
|
||||||
|
syn match nasalComment "^\s*<!\[CDATA\[\s*$"
|
||||||
|
syn match nasalComment "^\s*\]\]>\s*$"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue