Skip to content

Commit b62f9ae

Browse files
notetieneAndreaCrotti
authored andcommitted
Add customization group for snippets
* yasnippet-snippets.el (yasnippet-snippets): Add customization group.
1 parent c60eb3d commit b62f9ae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

yasnippet-snippets.el

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@
4848
(add-to-list 'yas-snippet-dirs 'yasnippet-snippets-dir t)
4949
(yas-load-directory yasnippet-snippets-dir t))
5050

51+
(defgroup yasnippet-snippets nil
52+
"Options for yasnippet setups.
53+
54+
This is useful for customizing options declared in
55+
“.yas-setup.el” files. For example, you could declare a
56+
customizable variable used for a snippet expansion.
57+
58+
See Info node `(elisp)Customization Types'."
59+
:group 'yasnippet)
60+
5161
;;;###autoload
5262
(eval-after-load 'yasnippet
5363
'(yasnippet-snippets-initialize))

0 commit comments

Comments
 (0)