diff options
-rw-r--r-- | .ctags.d/go.ctags | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.ctags.d/go.ctags b/.ctags.d/go.ctags new file mode 100644 index 0000000..bb20134 --- /dev/null +++ b/.ctags.d/go.ctags @@ -0,0 +1,5 @@ +--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/ |