六一的部落格


关关难过关关过,前路漫漫亦灿灿。



预定义模板


yasnippet-安装

 1(use-package yasnippet
 2  :config
 3  (progn
 4    (let ((yas-snippet (concat my/emacs-config "/snippets")))
 5      (setq yas-snippet-dirs '())
 6      (add-to-list 'yas-snippet-dirs yas-snippet)
 7      )
 8    (require 'yasnippet)
 9    (yas-global-mode 1)
10    )
11  :ensure t
12  )

yasnippet


预定义模板


yasnippet-安装

 1(use-package yasnippet
 2  :config
 3  (progn
 4    (let ((yas-snippet (concat my/emacs-config "/snippets")))
 5      (setq yas-snippet-dirs '())
 6      (add-to-list 'yas-snippet-dirs yas-snippet)
 7      )
 8    (require 'yasnippet)
 9    (yas-global-mode 1)
10    )
11  :ensure t
12  )