doomemacs/modules/editor/snippets
Henrik Lissner 60b595321e Lazy-load yasnippet harder for faster first-file load time
+ Rather than waiting for the first "interactive" major mode to be
  visited to activate yas-minor-mode, we wait until the first time the
  user invokes a snippet command to activate yas-global-mode.
+ yas-reload-all is one of the bottlenecks when loading a file for the
  first time. Deferring it further should help with this.
+ yas-global-mode reaches more major modes than our former list of
  hooks (fixes #5140).

Closes #5140
2021-06-05 13:12:00 -04:00
..
autoload Prompt should say edit and not alias. 2021-02-13 14:20:12 -08:00
config.el Lazy-load yasnippet harder for faster first-file load time 2021-06-05 13:12:00 -04:00
packages.el Bump :editor snippets 2021-05-10 15:47:36 -04:00
README.org Move emacs-snippets -> doom-snippets 2019-07-14 17:05:48 +02:00

editor/snippets

Description

This module adds snippets to Emacs, powered by yasnippet.

Module Flags

This module exposes no flags.

TODO Hacks

Prerequisites

This module has no external dependencies.

TODO Features

Configuration

Disabling the built-in snippets

Don't want to use provided one? Then add this to your private module,

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

TODO Troubleshooting