-
Notifications
You must be signed in to change notification settings - Fork 110
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
C-] opens the definition on an existing buffer and not the current buffer #69
Comments
Do you mean (this is my best guess) that if you have the file with the definition already in a buffer then it somehow makes a difference when hitting the c-] combination compared to when you don't? I'm not sure what do you mean by existing vs current buffer. Could you please ellaborate on this? |
Oops, sorry. This is how I can reproduce it:
I was assuming on the 3rd step, it would simply open the file with the function definition on window B but instead it opened it on window A. |
Oh, i see. This jump-to-definition feature works by vim's own :tag command (prefixed with the number) so i guess that this is how it's supposed to work, but would worth checking if the behaviour changes when the plugins is disabled. |
Yeah it's different without the plugin. On the 3rd step, it would open on window B when pressing C-] on a function call in window B. Not sure if it's relevant but |
Thanks for looking into this for me! |
For some weird reason C-] opens a definition on an existing buffer and not the current buffer. Is this an expected behavior?
The text was updated successfully, but these errors were encountered: