telescope.nvim
telescope.nvim copied to clipboard
Full messages visible in diagnostics picker
Is your feature request related to a problem? Please describe. I am always frustrated when I cannot see the full diagnostics message in the diagnostics picker results, even with wrap_results enabled
Describe the solution you'd like A nicely looking full diagnostics messages and their file of origin. I guess this may be possible with enabled wrap_results and by having the line_width parameter set to the message length, different for each message
Describe alternatives you've considered The only relevant option seems to be line_width, but it is a fixed number. Setting it to a large number produces quite horribly-looking results
Yes, with { defaults = { wrap_results = true } }
I get things like this:
Where you can't see which file it's in but you can see the full line of code.
This makes Typescript errors especially inscrutable given the length/depth of the messages tsc
emits
I managed to make a quick fix for this by appling this change: https://github.com/blue-pitaya/telescope.nvim/commit/7365b66a92d03aa1b39ef2e9e3e54d63b1095cea
The problem seems to be that line width is ignoring wrap_results flag.
Any idea of when this will be make it into a release?
@bnwa sorry no timeline. you can pin telescope to this commit https://github.com/nvim-telescope/telescope.nvim/commit/dc7f25c81025981ea20fa9ffa2697ef8459123a1 in the meantime.