Files
neovim/runtime/lua/vim
Yi Ming f9e068117b refactor(lsp): share code by get_locations #38902
Problem:
`vim.lsp.buf.definition`/`vim.lsp.buf.declaration` use the same underlying code
via `get_locations`, whereas `vim.lsp.buf.reference` does not. This is because
`buf.reference` does not perform a jump when there is only one item.

Solution:
In #38510, I simplified the jump logic using `:cfirst`, so they can now share
code more easily. Additionally, this PR enables `buf.definition` to display the
corresponding qflist name.
2026-04-09 13:46:50 -04:00
..
2026-03-11 18:24:57 +01:00
2025-06-06 15:36:48 +01:00
2026-03-28 09:59:54 -04:00
2026-01-09 10:07:15 +01:00
2026-03-11 18:00:18 +01:00
2026-04-08 20:34:47 -04:00
2026-04-08 11:38:27 -04:00
2026-03-11 18:00:18 +01:00
2026-04-01 17:04:41 -04:00