mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -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.
|
;; Hook LSP, if enabled.
|
||||||
(when (modulep! +lsp)
|
(when (modulep! +lsp)
|
||||||
(add-hook! '(tex-mode-local-vars-hook
|
(add-hook! '(tex-mode-local-vars-hook
|
||||||
latex-mode-local-vars-hook)
|
latex-mode-local-vars-hook
|
||||||
|
LaTeX-mode-local-vars-hook)
|
||||||
:append #'lsp!))
|
:append #'lsp!))
|
||||||
;; Define a function to compile the project.
|
;; Define a function to compile the project.
|
||||||
(defun +latex/compile ()
|
(defun +latex/compile ()
|
||||||
|
Reference in New Issue
Block a user