diff options
author | Tyson <Tyson@Ultrabook2.SPWiFi> | 2014-02-11 16:26:45 -0600 |
---|---|---|
committer | Tyson <Tyson@Ultrabook2.SPWiFi> | 2014-02-11 16:26:45 -0600 |
commit | af74bd1af962421eb5fac04ef41e3dcfd59d083a (patch) | |
tree | 411d711079e39c32c369f0aa048f1af50a8f9601 /pygments/lexers/templates.py | |
parent | ef1bbdffe2999a9223bde5f0740f1fddbbd88035 (diff) | |
download | pygments-af74bd1af962421eb5fac04ef41e3dcfd59d083a.tar.gz |
Check for ColdFusion scopes.
Diffstat (limited to 'pygments/lexers/templates.py')
-rw-r--r-- | pygments/lexers/templates.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pygments/lexers/templates.py b/pygments/lexers/templates.py index 9306b660..b6fdaa7e 100644 --- a/pygments/lexers/templates.py +++ b/pygments/lexers/templates.py @@ -1500,6 +1500,7 @@ class ColdfusionLexer(RegexLexer): (r'(if|else|len|var|case|default|break|switch|component|property|function|do|try|catch|in|continue|for|return|while)\b', Keyword), (r'(required|any|array|binary|boolean|component|date|guid|numeric|query|string|struct|uuid|xml)\b', Keyword), (r'(true|false|null)\b', Keyword.Constant), + (r'(application|session|client|cookie|super|this|variables|arguments)\b', Name.Constant), (r'([A-Za-z_$][A-Za-z0-9_.]*)(\s*)(\()', bygroups(Name.Function, Text, Punctuation)), (r'[A-Za-z_$][A-Za-z0-9_.]*', Name.Variable), |