Skip to content

Instantly share code, notes, and snippets.

@georgexsh
Last active September 18, 2017 07:50
Show Gist options
  • Save georgexsh/2491539 to your computer and use it in GitHub Desktop.
Save georgexsh/2491539 to your computer and use it in GitHub Desktop.
--recurse
--links=no
--fields=+n
--exclude=*.js
--exclude=*.html
--exclude=venv/*
--langmap=python:+.ptl
--regex-python=/^ *([_A-Z0-9]+)[\t ]*=/\1/d,definition/e
--python-kinds=-i
--php-kinds=-v
--langdef=Go
--langmap=Go:.go
--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/d,func/
--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,var/
--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/d,type/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment