folke / trouble.nvim

🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Apache License 2.0
5.36k stars 175 forks source link

fix: avoid removing newlines in util.lua #275

Closed Danie-1 closed 1 year ago

Danie-1 commented 1 year ago

From what I can tell, the new lines are already handled by line 20 of text.lua. By removing the code in util.lua, the code in text.lua can be used so that we have a space replacing the newline instead of nothing.