-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
@jcs090218 I believe that this doesn't work when the flymake
error takes multiple lines. Consider that I'm using eglot
with the haskell-language-server-wrapper
LSP server.
In particular looking at the sideline-flymake--show-errors
it seems that the candidates are always only one i.e. a string potentially containing multiple lines. And this implies that sideline
shows things horizontally misaligned.
Changing the last line of the function to (funcall callback (split-string text "\n"))
seems to improve a bit the situation but the order is now wrong:
Also notice that probably it would make sense removing all the whitespaces a the beginning of each line.
PS: this is my configuration
(use-package sideline
:delight
:hook (flymake-mode . sideline-mode)
:custom
(sideline-flymake-display-mode 'line)
(sideline-backends-right '(sideline-flymake))
(sideline-flymake-max-lines 5)
)
Haven't tried with -Q
because I don't think this is due to other packages.