-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sideline not showing warnings-errors only fixes #2
Comments
You should have all backends in (setq sideline-backends-right '(sideline-lsp sideline-flycheck)) |
I applied your change, but I got the same behavior. |
What's your value |
When running |
Sorry for the late reply! I was busy with something else. 😓 Oops, the variable is now named (setq sideline-backends-right '(sideline-lsp sideline-flycheck sideline-flymake)) Make sure you have all packages installed and requires! |
I hope everything is fine. No worries about the late answer! I tried the |
Wait, you are using (use-package! sideline
- :hook (flycheck-mode-hook . sideline-mode)
+ :hook (flycheck-mode . sideline-mode) And for everything else, |
I have the following in my config. (use-package! sideline
:hook (flycheck-mode . sideline-mode)
:init
(setq sideline-order-left 'down ; or 'up
sideline-order-right 'up ; or 'down
sideline-format-left "%s " ; format for left aligment
sideline-format-right " %s" ; format for right aligment
sideline-priority 100 ; overlays' priority
sideline-display-backend-name t)
(setq sideline-backends-right '(sideline-lsp sideline-flycheck sideline-flymake)))
(use-package! sideline-lsp
:init
(setq sideline-lsp-update-mode 'line))
(use-package! sideline
:hook (flymake-mode-hook . sideline-mode)
:init
(setq sideline-flymake-display-errors-whole-line 'line))
(use-package! lsp-mode :hook (lsp-mode-hook . sideline-mode))
(use-package! lsp-ui :init (setq lsp-ui-sideline-enable nil)) ; disable original sideline
(use-package! sideline-flycheck :hook (flycheck-mode-hook . sideline-flycheck-setup)) I am reposting it in case you spot an error. So the current behavior is the following. If I set the |
Hi jcs,
First of all, thanks for the great plugin. I have been looking for this kind of feature for quite some time to use in emacs.
I am trying to setup sideline with sideline-flycheck and sideline-lsp, and I cannot find a way to make the errors show up as in the images you have in the sideline package.
I have enabled sideline-mode by manually calling it in the buffer, and I have the following in my configuration.
I have tried adding sideline-flycheck in the backend, but it still showed nothing.
Do you know what could happen that would result in this behavior?
I am using emacs 28 with native-comp (with doom emacs) and tried to port your leaf suggestions to use-package.
The image shows what I am seeing. The
asd
error is not displayed at all nor the clang-tidy warnings. The clang-tidy warnings come from the lsp-server. (clangd)The text was updated successfully, but these errors were encountered: