``` refactor(tex,completion,edit): Reorganize LaTeX configuration

and cleanup

- Require init-tex module in main init.el Change marginalia
- initialization from hook to immediate mode activation Enable
- yasnippet globally in init-edit Remove unused init-snippet.el
- module Simplify init-tex.el by removing redundant
- cdlatex-yasnippet integration Add lexical binding and proper
- package demand configuration for AuCTeX Clean up commented code in
- init-org.el ```
This commit is contained in:
Zelong Kuang
2025-12-14 19:27:57 +11:00
parent 9e7872b4aa
commit 8b88b04c1b
7 changed files with 19 additions and 63 deletions

View File

@@ -1,10 +0,0 @@
(use-package! yasnippet
:config
(defun my-yas-try-expanding-auto-snippets ()
(when yas-minor-mode
(let ((yas-buffer-local-condition ''(require-snippet-condition . auto)))
(yas-expand))))
(add-hook 'post-command-hook #'my-yas-try-expanding-auto-snippets)
)
(provide 'init-snippet)