Skip to content

Instantly share code, notes, and snippets.

@adamgibbins
Created March 2, 2011 17:53
Show Gist options
  • Save adamgibbins/851366 to your computer and use it in GitHub Desktop.
Save adamgibbins/851366 to your computer and use it in GitHub Desktop.
--langdef=puppet
--langmap=puppet:.pp
--regex-puppet=/^class[ \t]*([:a-zA-Z0-9_\-]+)[ \t]*/\1/d,definition/
--regex-puppet=/^site[ \t]*([a-zA-Z0-9_\-]+)[ \t]*/\1/d,definition/
--regex-puppet=/^node[ \t]*([a-zA-Z0-9_\-]+)[ \t]*/\1/d,definition/
--regex-puppet=/^define[ \t]*([:a-zA-Z0-9_\-]+)[ \t]*/\1/d,definition/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment