When I opened two split windows for the same buffer and called vim.lsp.buf.definition
, if the symbol definition is in the same file, it would always jump to definition in the first window.
Is there a way to jump to definition in current window instead of the first window?
New contributor
ngkaokis is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.