2019-04-21 19:59:44 -04:00
|
|
|
#+TITLE: editor/snippets
|
2019-01-03 01:52:06 -05:00
|
|
|
#+DATE: February 11, 2017
|
|
|
|
#+SINCE: v2.0
|
|
|
|
#+STARTUP: inlineimages
|
2017-08-21 20:12:25 +02:00
|
|
|
|
2019-01-03 01:52:06 -05:00
|
|
|
* Table of Contents :TOC:
|
2019-07-14 14:43:45 +02:00
|
|
|
- [[#description][Description]]
|
|
|
|
- [[#module-flags][Module Flags]]
|
|
|
|
- [[#plugins][Plugins]]
|
|
|
|
- [[#hacks][Hacks]]
|
|
|
|
- [[#prerequisites][Prerequisites]]
|
|
|
|
- [[#features][Features]]
|
|
|
|
- [[#configuration][Configuration]]
|
|
|
|
- [[#disabling-the-built-in-snippets][Disabling the built-in snippets]]
|
|
|
|
- [[#troubleshooting][Troubleshooting]]
|
2019-01-03 01:52:06 -05:00
|
|
|
|
|
|
|
* Description
|
2017-08-21 20:12:25 +02:00
|
|
|
This module adds snippets to Emacs, powered by yasnippet.
|
|
|
|
|
2019-01-03 01:52:06 -05:00
|
|
|
** Module Flags
|
|
|
|
This module exposes no flags.
|
|
|
|
|
|
|
|
** Plugins
|
|
|
|
+ [[https://github.com/joaotavora/yasnippet][yasnippet]]
|
|
|
|
+ [[https://github.com/abo-abo/auto-yasnippet][auto-yasnippet]]
|
2019-07-14 14:43:45 +02:00
|
|
|
+ [[https://github.com/hlissner/doom-snippets][doom-snippets]]
|
2019-01-03 01:52:06 -05:00
|
|
|
|
|
|
|
** TODO Hacks
|
|
|
|
|
|
|
|
* Prerequisites
|
|
|
|
This module has no external dependencies.
|
|
|
|
|
|
|
|
* TODO Features
|
2017-08-21 20:12:25 +02:00
|
|
|
|
2019-07-14 14:43:45 +02:00
|
|
|
* Configuration
|
|
|
|
** Disabling the built-in snippets
|
|
|
|
Don't want to use provided one? Then add this to your private module,
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
;; in ~/.doom.d/packages.el
|
|
|
|
(package! doom-snippets :ignore t)
|
|
|
|
;; If you want to replace it with yasnippet's default snippets
|
|
|
|
(package! yasnippet-snippets)
|
|
|
|
#+END_SRC
|
2017-08-21 20:12:25 +02:00
|
|
|
|
2019-01-03 01:52:06 -05:00
|
|
|
* TODO Troubleshooting
|