Skip to content

Instantly share code, notes, and snippets.

@talmuth
Created August 29, 2013 15:55
Show Gist options
  • Save talmuth/6379943 to your computer and use it in GitHub Desktop.
Save talmuth/6379943 to your computer and use it in GitHub Desktop.
--totals=yes
--tag-relative=yes
--exclude=_fixtures
--exclude=.svn
--exclude=.git
--exclude=temlates_c
--exclude=*min.js
--exclude=*.html
--exclude=*.htm
--exclude=css/v3/*/stylesheets
--langdef=css
--langmap=css:.css
--regex-css=/^[ \t]*\.([A-Za-z0-9_-]+)/#\1/c,class,classes/
--regex-css=/^[ \t]*#([A-Za-z0-9_-]+)/.\1/i,id,ids/
--regex-css=/^[ \t]*(([A-Za-z0-9_-]+[ \t\n,]+)+)\{/\1/t,tag,tags/
--regex-css=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/m,media,medias/
--langdef=scss
--langmap=scss:.scss
--regex-scss=/^[ \t]*@mixin ([A-Za-z0-9_-]+)/\1/m,mixin,mixins/
--regex-scss=/^[ \t]*\$([A-Za-z0-9_-]+)/\1/m,variable,variables/
--regex-scss=/^[ \t]*\.([A-Za-z0-9_-]+)/.\1/c,class,classes/
--regex-scss=/^[ \t]*#([A-Za-z0-9_-]+)/#\1/i,id,ids/
--regex-scss=/^[ \t]*(([A-Za-z0-9_-]+[ \t\n,]+)+)\{/\1/t,tag,tags/
--regex-scss=/^[ \t]*@media\s+([A-Za-z0-9_-]+)/\1/m,media,medias/
--PHP-kinds=+cf-v
--regex-PHP=/(abstract)?\s+class\s+([^ ]+)/\2/c,class,classes/
--regex-PHP=/(static|abstract|public|protected|private)\s+function\s+(\&\s+)?([^ (]+)/\3/f,function,functions/
--regex-PHP=/interface\s+([^ ]+)/\1/i,interface,interfaces/
--regex-PHP=/\$([a-zA-Z_][a-zA-Z0-9_]*)/\1/v/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment