Initial commit

This commit is contained in:
Zelong Kuang
2025-12-14 04:51:24 +11:00
commit c8f45404a0
12 changed files with 539 additions and 0 deletions

10
lisp/init-snippet.el Normal file
View File

@@ -0,0 +1,10 @@
(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)