Skip to content
Browse files

vim: match collected resources.

  • Loading branch information...
1 parent 35f2ba7 commit 65f531b7f21ceacbf33b62488cf963f9099916e8 @mfournier mfournier committed with MarkusQ Jul 16, 2010
Showing with 1 addition and 0 deletions.
  1. +1 −0 syntax/puppet.vim
View
1 syntax/puppet.vim
@@ -33,6 +33,7 @@ syn match puppetNodeRe "/.*/" contained
"FIXME: "Foo-bar" doesn't get highlighted as expected, although "foo-bar" does.
syn match puppetInstance "[A-Za-z0-9_-]\+\(::[A-Za-z0-9_-]\+\)*\s*{" contains=puppetTypeName,puppetTypeDefault
syn match puppetInstance "[A-Z][a-z_-]\+\(::[A-Z][a-z_-]\+\)*\s*[[{]" contains=puppetTypeName,puppetTypeDefault
+syn match puppetInstance "[A-Z][a-z_-]\+\(::[A-Z][a-z_-]\+\)*\s*<\?<|" contains=puppetTypeName,puppetTypeDefault
syn match puppetTypeName "[a-z]\w*" contained
syn match puppetTypeDefault "[A-Z]\w*" contained

0 comments on commit 65f531b

Please sign in to comment.
Something went wrong with that request. Please try again.