doomemacs/modules/editor/snippets
Henrik Lissner 7e400abdc0
fix(docs): set mode in file-local vars
Due to emacs-straight/org-mode@e22b4eb, a replacement major mode (for
org-mode) can no longer be specified from .dir-locals.el, as it spirals
into infinite recursion. Therefore, a mode: line is needed in all Doom
docs.

Ref: emacs-straight/org-mode@e22b4eb7aa
2022-08-03 02:46:33 +02:00
..
autoload fix(snippets): yas-expand error on yas-choose-value (#5429) 2021-09-15 18:59:43 +02:00
config.el refactor: rename orig-fn arg in advice to fn 2021-08-04 01:53:12 -04:00
packages.el Bump :editor 2021-07-11 17:52:08 -04:00
README.org fix(docs): set mode in file-local vars 2022-08-03 02:46:33 +02:00

:editor snippets

Description   unfold

This module adds snippet expansions to Emacs, powered by yasnippet.

Module flags

This module exposes no flags.

TODO Hacks

🔨 This module's hacks haven't been documented yet. Document them?

TODO Changelog

This module does not have a changelog yet.

Installation

Enable this module in your doom! block.

This module has no external requirements.

TODO Usage

🔨 This module has no usage documentation yet. Write some?

TODO Configuration

🔨 This module's configuration documentation is incomplete. Complete it?

Disabling the built-in snippets

;; in $DOOMDIR/packages.el
(package! doom-snippets :ignore t)
;; If you want to replace it with yasnippet's default snippets
(package! yasnippet-snippets)

Adding custom snippets

Custom snippets should be added under $DOOMDIR/snippets/ directory. Refer to yasnippet-documentation on how to write snippets.

Troubleshooting

There are no known problems with this module. Report one?

Frequently asked questions

This module has no FAQs yet. Ask one?

TODO Appendix

🔨 This module has no appendix yet. Write one?