-
Notifications
You must be signed in to change notification settings - Fork 48
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
Slowdown in lsp-mode because the sever reports errors on TinyTex LaTeX distribution instead of only in the current project #1028
Comments
We cannot add this here because it would break discovering the project (e. g. I think the better solution is to never send diagnostics for files that are part of the TeX distro. |
Yes, this will solve the issue completely. |
The whole description and logs about this issue are here (emacs-lsp/lsp-mode#4356).
The problem is that the server is sending a lot of calls for loaded packages and their TeX files, like
The issue was fixed by this commit (1a2ad9e), but my best guess is that this line also requires an additional filter for "tex" files.
texlab/crates/base-db/src/graph.rs
Line 80 in 1a2ad9e
WDYT?
Best.
The text was updated successfully, but these errors were encountered: