simrat39 / rust-tools.nvim

Tools for better development in rust using neovim's builtin lsp
MIT License
2.17k stars 159 forks source link

feat: allow vim.ui.select to be used for hover actions #347

Closed jcdickinson closed 9 months ago

jcdickinson commented 1 year ago

This allows the hover_actions to be handled by the standard vim.ui.select mechanism, allowing the use of consistent UI (e.g. with something like https://github.com/nvim-telescope/telescope-ui-select.nvim). This PR also leaves the door open to the user creating their own handler function, or some other plugin setting the handler function.