reddit / emacs

Need some help with lsp-diagnostics and flycheck

Domva · 2022-09-27 15:31
Hi there! I need some help with lsp-diagnostics-mode and flycheck. Basically, the issue is that when I enable lsp-diagnostics-mode, flycheck doesn't work and I have to disable it (like screenshot below) ​ [Doesn't work](https://preview.redd.it/938q0ybv6fq91.png?width=2880&format=png&auto=webp&s=db8f5ac2870bb501c57e3ac0bc625d2d5d78ae89) If I just disable it works: ​ [Works](https://preview.redd.it/1fqv5ux37fq91.png?width=2880&format=png&auto=webp&s=6218d9d792c73bd6ca9cdd3f04d002d2d9b11b88) ​ Should it be like that? Or am I missing something? I'm a bit of a noob here, so any help is appreciated. Thanks ​ UPDATE: I found out that the issue lies with python's jedi-language-server. If I use pyright this doesn't happen. It also works in elisp buffers, so that gave away that somehow jedi isn't working properly. For now, I'm going to be using pyright. One question though - is there a way to run several checkers at the same time? For instance, I would like to run flake8, pyright AND mypy.
yyoncho · 2022-09-27 16:14
It should just work without doing anything when flycheck is present