Open zenhog opened 3 years ago
Sounds interesting and worthwhile.
I'll pin down the request: in brief, the idea is to provide an action that bridges entries of lsp_{document, workspace}_symbols
and several lsp
pickers, which should be quite straightforward.
Happy to guide on a PR. I've added this to mentored projects #1190
I feel like builtin lsp_document/workspace_symbols could implement key bindings to actually do things like lsp_reference, lsp_definition, lsp_implementation, etc ... So far, you have to jump to a symbol through the lsp_XX_symbols builtins, then use the key binding necessary to do some lsp action. I feel like it should not be the case, since actions are mostly done on Symbols, the symbol list should have binding possibilities, just like C-V C-T for opening files in splits. An even further thing to consider would be to even initialize the filter text to the current symbol (if in a function, or if the cursor points to a global variable). I think this can be done through custom picker functions, but I've never used neovim before with all this lua involved, so I don't feel comfortable diving into this.