mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
fix(latex): enable LSP on LaTeX-mode-local-vars-hook too
This commit is contained in:
@ -100,7 +100,8 @@ If no viewer is found, `latex-preview-pane-mode' is used.")
|
||||
;; Hook LSP, if enabled.
|
||||
(when (modulep! +lsp)
|
||||
(add-hook! '(tex-mode-local-vars-hook
|
||||
latex-mode-local-vars-hook)
|
||||
latex-mode-local-vars-hook
|
||||
LaTeX-mode-local-vars-hook)
|
||||
:append #'lsp!))
|
||||
;; Define a function to compile the project.
|
||||
(defun +latex/compile ()
|
||||
|
Reference in New Issue
Block a user