Skip to content
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

Add a binding to return from definition in intero mode #10965

Closed

Conversation

magthe
Copy link
Contributor

@magthe magthe commented Jun 26, 2018

Currently there is only a binding for jump-to-definition (via the spacemacs jump handlers), but there is no binding for returning. It turns out that Intero's jump-to-definition function uses the xref cross-referencing functions, so adding a return-from-definition is as simple as adding a binding for xref-pop-marker-stack.

@sdwolfz
Copy link
Collaborator

sdwolfz commented Jul 3, 2018

Please arrange the keybinding in alphabetical order, and also add it to the documentation.

@magthe magthe force-pushed the intero-return-from-definition branch from 7e3a234 to 65f41e1 Compare July 5, 2018 06:45
Signed-off-by: Magnus Therning <magnus@therning.org>
@magthe
Copy link
Contributor Author

magthe commented Jul 5, 2018

@sdwolfz Done, and I also rebased it onto the latest develop while at it.

@sdwolfz
Copy link
Collaborator

sdwolfz commented Jul 10, 2018

Thank you ❤️!
Cherry-picked into develop branch, you can safely delete your branch.

@sdwolfz sdwolfz closed this Jul 10, 2018
@magthe magthe deleted the intero-return-from-definition branch July 11, 2018 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants