nvim-telescope / telescope.nvim

Find, Filter, Preview, Pick. All lua, all the time.
MIT License
15.84k stars 835 forks source link

Wrap diagnostics message #3315

Open Masber opened 3 weeks ago

Masber commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Diagnostic results truncates the diagnostic message defeating the purpose of this theme/picker. wrap_results won't work because it will wrap the file name.

eg:

:Telescope diagnostics theme=dropdown previewer=false wrap_results=true

image

I checked https://github.com/nvim-telescope/telescope.nvim/issues/701 and https://github.com/nvim-telescope/telescope.nvim/pull/1735 and I don't see how this issue is solved

Describe the solution you'd like

idk what would be the best solution, I am thinking in improving the formatting for the diagnostic results or move file names to its own pane

Describe alternatives you've considered

I tried using wrap_results=true but that did not work for me path_display="hidden" not an option because I would like to see the file name the diagnostic message is referring to

Additional context Add any other context or screenshots about the feature request here.

realtica commented 4 days ago

Same issue here.