Hi there,
I have such configuration inside my neovim config.
// from nvim-lspconfig
...
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
...
Whenever I press gr
combination neovim creates a horizontal split and shows all the references to the selected object.
After selecting an option from the “reference window (split)” this split remains open and it forces me to manually move back to the split and close it manually.
It is possible somehow to auto-close the split after selecting an option?