Skip to content

Instantly share code, notes, and snippets.

@andrwj
Forked from tebeka/.ctags
Created August 18, 2014 23:37
Show Gist options
  • Save andrwj/8666d43139ba1f940ee9 to your computer and use it in GitHub Desktop.
Save andrwj/8666d43139ba1f940ee9 to your computer and use it in GitHub Desktop.
--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/
--regex-Go=/([a-zA-Z_][a-zA-Z0-9_]*)[ \t]*:=/\1/d,var/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment