emacs-sideline / sideline

Show information on the side
GNU General Public License v3.0
118 stars 14 forks source link

Not seeing any sideline information #16

Closed chookity-pokk closed 11 months ago

chookity-pokk commented 11 months ago

I essentilly just copy/pasted the config info from the readme and installed sideline as well as sideline-lsp and sideline-flyckeck but when I use it in a buffer with lsp-mode enabled I don't get any information. When enabling lsp-ui-sideline though I can see the information. I've also tried enabling/disabling sideline-mode manually and not seen anything in the sideline. I am using emacs 29.1 and using Python's ruff lsp.

Here is my config

(setq lsp-ui-sideline-enable nil)  ; disable lsp-ui-sideline

(use-package sideline
  :init
  (setq sideline-backends-left-skip-current-line t   ; don't display on current line (left)
        sideline-backends-right-skip-current-line t  ; don't display on current line (right)
        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              ; display backend name
    sideline-backend-left '(sideline-flycheck)   ; flyckec info on the bottom
    sideline-backend-right '(sideline-lsp)))     ; lsp info on the top
(add-hook 'lsp-mode 'sideline-mode)

I also checked the Messages buffer and don't see any errors there related to sideline or the lsp. I also uninstalled and re-installed all three packages and still get the same results.

jcs090218 commented 11 months ago

Have you tried hovering errors and stuff? 🤔

chookity-pokk commented 11 months ago

I have, yes. I just tried again with a basic error and it unfortunately didn't show anything in the sideline.

jcs090218 commented 11 months ago

Sorry, I mis-spelled some variables; they should have the "s" behind the word "backend": 😓

chookity-pokk commented 11 months ago

Of course it was something super simple! Problem solved and thank you for the help!