Skip to content

goto-definition opens buffer in new tab #381

Answered by ckipp01
rallyram asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @rallyram thanks for the question! Technically, sure it's possible, but you'd probably have to hack it in yourself since I don't think there is a quick way to do it by default. The goto definition functionality is actually just part of Neovim, nvim-metals doesn't do anything specific with it, but forward it to Neovim. Check out :h lsp-handler and it'll give you an idea of how to override a handler (which is what the result of the definition is). You can see a short discussion about this here

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rallyram
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants