fix(latex): enable LSP on LaTeX-mode-local-vars-hook too
This commit is contained in:
parent
b835e7b6ec
commit
c27387ce76
1 changed files with 2 additions and 1 deletions
|
@ -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 ()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue