emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.04k stars 140 forks source link

[lsp-ui-doc] flycheck diagnostic highlights text in lsp-ui documentation frame #649

Open zozowell opened 3 years ago

zozowell commented 3 years ago

Thanks lsp community makes this great tool! It makes emacs my favorite IDE.

I'd like to report a display bug I observed for a while. I'm using emacs text mode, and use following lsp-ui and flycheck package. But I see sometimes doc frame are also highlighted as error lines wrongly, which is very annoying. I tried many setting, but couldn't fix this. Appreciate any suggestions on how to fix this. Thanks.

lsp-ui             20210708.134  available  melpa      UI modules for lsp-mode
flycheck           20210708.1337 available  melpa      On-the-fly syntax checking

image

And it's only happens when the doc frame is showed at a line where has syntax error being highlighted, if it is showed at a line without error, no underline is rendered, everything looks good. image