diff options
author | gxlin <[email protected]> | 2021-08-20 22:21:05 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-08-20 22:21:05 +0800 |
commit | 2d6a4a1680b78e1e6bea8d94ae14e39e2ebd36d0 (patch) | |
tree | 01d95225a6a9f5d72366663c352ddb9e9ca65c14 | |
parent | 1e1c02f8a12445ca8b9e4166ea4098af65b0cf68 (diff) | |
download | dotfiles-2d6a4a1680b78e1e6bea8d94ae14e39e2ebd36d0.tar.gz dotfiles-2d6a4a1680b78e1e6bea8d94ae14e39e2ebd36d0.tar.bz2 dotfiles-2d6a4a1680b78e1e6bea8d94ae14e39e2ebd36d0.zip |
Add golang ctags config
-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/ |