(mini.pick) Possible to improve/alter lsp.workspace_symbols_live sorting #2449
-
Contributing guidelines
Module(s)mini.extra, mini.pick QuestionQuestion: Is there a way to adjust how mini.pick sorts/filters the Context: I have been having trouble getting the live workspace symbols picker to sort or filter in a useful way because it doesn't do any sort of scoring for in-module symbols versus overall workspace symbols, and it seems to filter off filename too rather than just symbol name. As a rough example (since I can't post real screenshots due to it being a work codebase), lets say I'm looking for a method
Of those options, only the 3rd is somewhat relevant. It gets worse when I remember that oh it's on a service struct and I type in
For comparison, the same searches with fzf-lua return the following
Which are all much more relevant to my search. I'm assuming I'm either holding the picker wrong or I'm expecting too much out of it (since I know most mini.pick pickers do limited sorting since you're fuzzy finding anyway) so if anyone has any tips on how to get better results from it I'd be much obliged! I've been really enjoying all the other pickers and the simple design for custom pickers is great, but unfortunately this is a pretty big part of my workflow so I'd need to either do my LSP symbol lookups through another plugin or go back to fzf-lua for this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
The way It is essentially done by calling Neovim's To double check that everything is okay, could you please compare how I am not quite sure how The (somewhat documented) solution that I can suggest with 'mini.pick' is to refine matches if you feel there are a lot of false positives. Press |
Beta Was this translation helpful? Give feedback.
-
|
This should now be resolved on the latest Thanks again for pointing out this behavior! |
Beta Was this translation helpful? Give feedback.



This should now be resolved on the latest
main. Along with (what feels like) an improved highlighting forworkspace_symbolandworkspace_symbol_livescopes.Thanks again for pointing out this behavior!