elixir-extras.nvim
elixir-extras.nvim copied to clipboard
Populate telescope with selected text
Is there a way to immediately populate telescope with the select from visual mode or even using 'select' mode?
I've been doing stuff like that in my config for other pickers using a hack with the feedkeys function. I'm not sure whether there's an official way to achieve that. But it's possible, however if you're taking about the apidocs picker, on the first pass you pick the module, so would it really be useful? The full module name won't usually be next to the function call in the code, and I don't think the LSP server will help us much here.
In fact, you'll probably have more help from the LSP server in that case. Try the K
shortcut, or:
:lua vim.lsp.buf.hover()