Update latex-help and some other stuff

This commit is contained in:
2024-10-10 06:42:08 -07:00
parent a6ba5e74a3
commit 9ae0d7a93f
2 changed files with 463 additions and 123 deletions

View File

@ -764,6 +764,7 @@ to `posframe-show' if the display is graphical."
(my/floating-tooltip " *flycheck-error-posframe*"
(substring message 0 (1- (length message)))))))
(use-package consult-flycheck
:defer nil
:bind (:map flycheck-mode-map
("C-c C-e" . consult-flycheck)))
@ -1105,6 +1106,8 @@ otherwise, call `bibtex-find-text'."
:hook ((LaTeX-mode . turn-on-reftex)
(LaTeX-mode . LaTeX-math-mode)
(LaTeX-mode . my/-setup-LaTeX-mode))
:bind (:map TeX-mode-map
("C-c ?" . latex-help-texdoc))
:init
(add-to-list 'major-mode-remap-alist '(plain-tex-mode . plain-TeX-mode))
(add-to-list 'major-mode-remap-alist '(latex-mode . LaTeX-mode))