This commit is contained in:
Zelong Kuang
2026-02-20 02:58:42 +11:00
parent c98a3bc530
commit 0a68c6ff37
2 changed files with 5 additions and 6 deletions

View File

@@ -12,9 +12,8 @@
(use-package ocaml-eglot (use-package ocaml-eglot
:ensure t :ensure t
:after tuareg :after tuareg
:hook :hook (tuareg-mode . ocaml-eglot)
(tuareg-mode . ocaml-eglot) :hook (ocaml-eglot . eglot-ensure)
(ocaml-eglot . eglot-ensure)
:config :config
(setq ocaml-eglot-syntax-checker 'flycheck)) (setq ocaml-eglot-syntax-checker 'flycheck))

View File

@@ -5,9 +5,9 @@
("./configure" "--without-texmf-dir" "--with-lispdir=.") ("./configure" "--without-texmf-dir" "--with-lispdir=.")
("make"))) ("make")))
:mode (("\\.tex\\'" . LaTeX-mode)) :mode (("\\.tex\\'" . LaTeX-mode))
:hook prettify-symbols-mode :hook (LaTeX-mode . prettify-symbols-mode)
:hook visual-line-mode :hook (LaTeX-mode . visual-line-mode)
:hook turn-on-reftex :hook (LaTeX-mode . turn-on-reftex)
:bind (:map LaTeX-mode-map :bind (:map LaTeX-mode-map
("C-S-e" . latex-math-from-calc)) ("C-S-e" . latex-math-from-calc))
:custom :custom