[Emacs] Add yasnippets and templates

This commit is contained in:
Lucien Cartier-Tilet 2021-04-28 16:41:20 +02:00
parent c1195ed6b4
commit f48334d78d
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 20 additions and 0 deletions

View File

@ -803,6 +803,26 @@ the user can match one and open it."
:mode "\\.yml\\'"
:mode "\\.yaml\\'")
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Snippets
(use-package yasnippet
:defer t
:straight (:build t)
:init
(yas-global-mode))
(use-package yasnippet-snippets
:after yasnippet
:straight (:build t))
(use-package yatemplate
:after yasnippet
:straight (:build t))
(use-package ivy-yasnippet
:after (ivy yasnippet)
:straight (:build t))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Keybindings ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;