Closed heimonsy closed 2 years ago
Sorry for bothering . I found out tagbar are using gotags, tags showed up after I deleted gotags.
And now there's a little problem, the generic function didn't show function arguments, only the function name and generic type parts are showed up。
▾ functions
Test[T constraints.Ordered]
Now I find out gotags works after I reinstall it. Thank you for your awesome plugin.
Steps to reproduce:
import ( "golang.org/x/exp/constraints" )
func Test[T constraints.Ordered](arr T) { }
Test main.go /^func Test[T constraints.Ordered](arr T) {$/;" f package:main typeref:typename:(arr T) main main.go /^package main$/;" p