-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CocTagFunc not working #71
Comments
Seems no definitioin found. |
@chemzqm I'm sorry, what does this mean? The issue remains. On the same definition, jump to definition works, using the tag navigation does not. |
Not able to reproduce. |
I attempted to reproduce this with a clean vimrc and indeed it does seem to work. It seems the issue is with my specific configuration. Thanks for looking into it! |
@chemzqm if you could help me, I am puzzled at this. I tried using a clean CoC install, and it worked with this. I had to manually set the filetype to ruby, then the tag command works.
If I add back the default
This is my vim version
It seems that something in the default vim runtime is breaking this behavior for me. If you can help me in any way, I'd really appreciate it. Thanks! |
What is inside the file vim90? |
It's the default vim runtime for vim 9. Basically it's the system's installation which includes what is in this folder from vim's source. |
It might mean that there's a conflict with whatever is being packaged in vim for my Linux installation. Or maybe it's for all installations. I'm gonna see if I can reproduce this in a docker container |
Okay, I've managed to reproduce this. Something is wrong with the plugin running a default vim installation. I've created a repository with a Docker image reproducing the issue. Instructions are on the README |
I'm attempting to use
set tagfunc=CocTagFunc
and it doesn't seem to work with Solargraph.It seems to call
getTagList
and looking through the code it makes definition calls to the LSP, so this should be present in Solargraph. Callingcall CocAction('jumpDefinition')
works and AFAICT that's pretty much what the taglist would do.I'm happy to dig deeper and try to come up with a solution but I'd need some pointers since I just switched over to COC and I'm not familiar with it.
My best guess is that this is a small missing piece (perhaps on the client configuration?).
The text was updated successfully, but these errors were encountered: