Closed bodnarlajos closed 1 year ago
It shouldn't be inserting anything. What is your config regarding this mode?
I just use with the default configuration. The backends are lsp and flymake.
I don't think any of these backend will cause insertion. Can you provide a screenshot or gif? 😕
Make sure you try it with emacs -q
, may be there is something wrong with your configuration.
Here is two screenshot and I'll come back to you with the result of my testing ... https://imgur.com/a/QTFWkvf
thanks in advance
Do you mean those red/green lines? It seems like the message from flymake is extremely long and contains newlines which cause one or more lines to be presented! This isn't a bug, but it could be very annoying...
Yes, I'was thinking about those lines. You can close this issue if you want, I just would have liked to mention it ... Thanks for you time :)
Hi,
I had a similar issue, where the flycheck message contained newlines. I was able to format the error message by using "%.80s", so that it never exceeds 80 characters, but i don't think it's possible to strip newline characters using the format
function. lsp-ui-sideline has a variable lsp-ui-sideline-diagnostic-max-lines
that allows the user to choose the max number of lines.
I'm new to writing Emacs lisp, but maybe allowing user to run a customizable function on the text itself would help, and make the functionalities more extensible.
Also i think it's best if they are aligned so how.
I've implemented this feature, see backends' customization section:
I think we've a solution? Closing this now! Thanks! ;)
Thanks! Very good news, I'll check it asap!
Hi, first of all thanks for this mode! When I enable it the error infromation will insert lines to the code. In this case the information will push the original code down!
Can I do something with it ?