ROCKTAKEY / lsp-latex

Emacs lsp-mode client for LaTeX, on texlab.
GNU General Public License v3.0
66 stars 4 forks source link

Disable math preview in hover #27

Closed real-or-random closed 3 years ago

real-or-random commented 3 years ago

Is there some way to disable math preview when hovering?

This uses a lot of CPU on my system when the document is complex (Hundreds of math macros, complex formulas, ...) and anyway takes multiple seconds, so it's not at very helpful.

I currently have this:

  (setq lsp-ui-doc-enable nil)
  (setq lsp-eldoc-enable-hover nil)

But this disables also all the other hover stuff in latex documents (and in other languages, but that's another issue that probably can be solved with a more clever configuration).

ROCKTAKEY commented 3 years ago

Sorry for my late reply. Previewing is temporary deleted from texlab 3.0.0 (see https://github.com/latex-lsp/texlab/blob/a0f0dded751258f57e972ad5e2285f82e3404f27/CHANGELOG.md#changed), due to low speed.