]> git.mxchange.org Git - flightgear.git/commitdiff
add thisfunc() and props.condition()
authormfranz <mfranz>
Tue, 22 Jul 2008 23:33:30 +0000 (23:33 +0000)
committermfranz <mfranz>
Tue, 22 Jul 2008 23:33:30 +0000 (23:33 +0000)
utils/syntax/nasal.vim

index b254b1ef22edd90be1ce4dc53a2d7f44b708447d..e67d18c8bfa46ce7267855440c6bf6275b6db558 100644 (file)
@@ -77,13 +77,14 @@ if !exists("nasal_no_fgfs")
        syn keyword nasalFGFSFunction           geodtocart carttogeod geodinfo parsexml airportinfo abort
 
        syn keyword nasalGlobalsFunction        isa fgcommand cmdarg abs interpolate setlistener defined printlog
+       syn keyword nasalGlobalsFunction        thisfunc
 
        syn keyword nasalPropsFunction          getType getName getIndex getValue setValue setIntValue
        syn keyword nasalPropsFunction          setBoolValue setDoubleValue getParent getChild getChildren
        syn keyword nasalPropsFunction          getAttribute setAttribute
        syn keyword nasalPropsFunction          removeChild removeChildren getNode
        syn keyword nasalPropsFunction          getPath getBoolValue setValues getValues
-       syn match   nasalPropsFunction          "\<props\.\(_\?globals\|Node\|nodeList\|initNode\)\>\.\="
+       syn match   nasalPropsFunction          "\<props\.\(_\?globals\|Node\|nodeList\|initNode\|condition\)\>\.\="
 endif