You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: