reddit / emacs

lsp-mode how to see warnings from lsp-headerline-breadcrumb-mode

teaovercoffee_ · 2022-10-24 03:53
I can't find why in the breadcrumb there are green and red underlines. There's also a red 3 in the modeline and I can't get that to show what the errors/warnings could be (I've tried clicking on it and nothing happens). How do you see what's going on in \`lsp-mode\`? Some context: I'm writing haskell, in \`haskell-mode\` and this is Doom Emacs My config.el (require 'lsp) (require 'lsp-haskell) ;; Hooks so haskell and literate haskell major modes trigger LSP setup (add-hook 'haskell-mode-hook #'lsp) (add-hook 'haskell-literate-mode-hook #'lsp) What I've tried * `M-x flycheck-list-errors` * `M-x flymake-show-buffer-diagnostics` * `M-x flymake-show-project-diagnostics` https://preview.redd.it/0soltff4fov91.png?width=1312&format=png&auto=webp&s=723fe894a7268475496e4fa39c171b47663cc806
yyoncho · 2022-10-24 06:52
To see global errors use M-x lsp-treemacs-diagnostics or helm-lsp-diagnostics(we have similar for consult/ivy). For the green one - seems like a bug or maybe you have flycheck levels that ignore info errors.
teaovercoffee_ · 2022-10-26 20:40
Thanks I’ll give this a try when I get home