doomemacs/modules/editor/snippets/autoload
Henrik Lissner 179e5fb320
fix(snippets): copy-and-edit workflow
There were a number of issues with the "copy and edit" workflow of the
snippets module. I.e. Snippets that live in $EMACSDIR/.local should not
be modified directly, so they ought to be opened in read-only-mode. This
also originally applied to file-templates snippets, but I figured that
was too excessive.

With this, you can now type `C-c C-e` in these buffers to automatically
copy them to $DOOMDIR/snippets/MODE/ so you can create your own to
overwrite the original.

This also fixes an issue where `+snippets/find` and
`+snippets/find-for-current-mode` may throw errors about an undefined
`template-uuid` variable (doomemacs/community#105)

Fix: doomemacs/community#105
2026-05-11 17:41:25 -04:00
..
settings.el refactor: replace doom-enlist with ensure-list 2022-08-07 19:43:13 +02:00
snippets.el fix(snippets): copy-and-edit workflow 2026-05-11 17:41:25 -04:00