ROCKTAKEY / lsp-latex

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

Handle AUCTeX's new mode naming convention #44

Closed dankessler closed 8 months ago

dankessler commented 8 months ago

Recently, AUCTeX renamed several of its major modes to avoid shadowing emacs built-in modes. This is documented here: https://git.savannah.gnu.org/cgit/auctex.git/tree/doc/changes.texi

As a result, if one has the newer version of AUCTeX (the version currently available from ELPA) then when they activate LaTeX-mode, lsp will be unavailable.

This is a simple fix to add support for the new TeX-mode and LaTeX-mode.

ROCKTAKEY commented 8 months ago

Good works. Thanks!