#+title: :editor snippets #+subtitle: My elves type so I don't have to #+created: February 11, 2017 #+since: 2.0.0 * Description :unfold: This module adds snippet expansions to Emacs, powered by [[doom-package:][yasnippet]]. ** Maintainers - [[doom-user:][@hlissner]] [[doom-contrib-maintainer:][Become a maintainer?]] ** Module flags /This module exposes no flags./ ** Packages - [[doom-package:][yasnippet]] - [[doom-package:][auto-yasnippet]] - [[doom-package:][doom-snippets]] ** TODO Hacks #+begin_quote 🔨 This module's hacks haven't been documented yet. [[doom-contrib-module:][Document them?]] #+end_quote ** TODO Changelog # This section will be machine generated. Don't edit it by hand. /This module does not have a changelog yet./ * Installation [[id:01cffea4-3329-45e2-a892-95a384ab2338][Enable this module in your ~doom!~ block.]] /This module has no external requirements./ * TODO Usage #+begin_quote 🔨 This module has no usage documentation yet. [[doom-contrib-module:][Write some?]] #+end_quote * TODO Configuration #+begin_quote 🔨 /This module's configuration documentation is incomplete./ [[doom-contrib-module:][Complete it?]] #+end_quote ** Disabling the built-in snippets #+begin_src emacs-lisp ;; in $DOOMDIR/packages.el (package! doom-snippets :ignore t) ;; If you want to replace it with yasnippet's default snippets (package! yasnippet-snippets) #+end_src ** Adding custom snippets Custom snippets should be added under =$DOOMDIR/snippets/= directory. Refer to [[http://joaotavora.github.io/yasnippet/snippet-development.html][yasnippet-documentation]] on how to write snippets. * Troubleshooting /There are no known problems with this module./ [[doom-report:][Report one?]] * Frequently asked questions /This module has no FAQs yet./ [[doom-suggest-faq:][Ask one?]] * TODO Appendix #+begin_quote 🔨 This module has no appendix yet. [[doom-contrib-module:][Write one?]] #+end_quote