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
:ensure t
:after tuareg
:hook
(tuareg-mode . ocaml-eglot)
(ocaml-eglot . eglot-ensure)
:hook (tuareg-mode . ocaml-eglot)
:hook (ocaml-eglot . eglot-ensure)
:config
(setq ocaml-eglot-syntax-checker 'flycheck))

View File

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