diff --git a/utils/syntax/nasal.vim b/utils/syntax/nasal.vim index ae8013f5e..78bb9ff0e 100644 --- a/utils/syntax/nasal.vim +++ b/utils/syntax/nasal.vim @@ -85,6 +85,11 @@ if !exists("nasal_no_fgfs") syn keyword nasalPropsFunction removeChild removeChildren getNode syn keyword nasalPropsFunction getPath getBoolValue setValues getValues syn match nasalPropsFunction "\\.\=" + + " mark obvious XML parts as comments (for editing XML embedded nasal) + syn match nasalComment "^\s*\s*$" + syn match nasalComment "^\s*\s*$" endif