mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
New snippets (created with yas-new-snippet) may not yet be associated with a file when it is passed to the functions in yas-prompt-functions. One of those functions, +snippets-prompt-private, prioritizes private snippets over default ones, but determines which is which with `file-in-directory-p`, which expects string arguments. To fix this, we can safely assume that if a snippet has no associated file, it is a private snippet.
:feature snippets
This module adds snippets to Emacs, powered by yasnippet.
Table of Contents TOC
Install
There are no extra dependencies for this module.
By default, private/default
installs a snippet library tailored exclusively
for Doom Emacs.