mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-21 08:43:00 +00:00
feat(emacs): Snippets loading and writing setup
This commit is contained in:
parent
d0f1044013
commit
31fde92975
9 changed files with 61 additions and 12 deletions
|
|
@ -82,7 +82,9 @@
|
|||
(lambda (orig-fn &rest args)
|
||||
(let ((inhibit-field-text-motion t)) ;; 禁止字段自动换行
|
||||
(apply orig-fn args))))
|
||||
(setq yas-snippet-dirs '("~/.dotfiles/tools/doom/snippets/"))
|
||||
;; (setq yas-snippet-dirs '("~/.dotfiles/tools/doom/snippets/"))
|
||||
(add-to-list 'yas-snippet-dirs "~/.dotfiles/tools/doom/snippets/" t)
|
||||
|
||||
(yas-reload-all)
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue