Skip to content

Commit

Permalink
Add .ctags for golang
Browse files Browse the repository at this point in the history
  • Loading branch information
conor-naranjo committed Mar 7, 2022
1 parent 4d420b8 commit eb91ee9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ctags/.ctags
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
--langdef=Go
--langmap=Go:.go
--regex-Go=/func([ \t]+\([^)]+\))?[ \t]+([a-zA-Z0-9_]+)/\2/f,func/
--regex-Go=/var[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/v,var/
--regex-Go=/type[ \t]+([a-zA-Z_][a-zA-Z0-9_]+)/\1/t,type/

0 comments on commit eb91ee9

Please sign in to comment.