Skip to content

Commit

Permalink
Support setting resource defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Apr 9, 2012
1 parent 79565c3 commit 32c930d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions puppet_lexer/__init__.py
Expand Up @@ -20,6 +20,7 @@ class PuppetLexer(RegexLexer):
(r'(else)(\s*)(\{)', bygroups(Keyword.Reserved, Text, Punctuation), 'block'),
(r'case', Keyword.Reserved, ('case', 'conditional')),
(r'(::)?([A-Z][\w:]+)+(\s*)(<{1,2}\|)', bygroups(Name.Class, Name.Class, Text, Punctuation), 'spaceinvader'),
(r'(::)?([A-Z][\w:]+)+(\s*)(\{)', bygroups(Name.Class, Name.Class, Text, Punctuation), 'type'),
(r'(@{0,2}[\w:]+)(\s*)(\{)(\s*)', bygroups(Name.Class, Text, Punctuation, Text), ('type', 'namevar')),
(r'\$(::)?(\w+::)*\w+', Name.Variable, 'var_assign'),
(r'(include)(\s+)', bygroups(Keyword.Namespace, Text), 'include'),
Expand Down

0 comments on commit 32c930d

Please sign in to comment.