From 714dca71b081ad3bf56046551b413b2829659e4b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 5 Jul 2018 15:02:27 +0200 Subject: Enable yasnippet. --- init.org | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'init.org') diff --git a/init.org b/init.org index 0f8b7a8..0958a5e 100644 --- a/init.org +++ b/init.org @@ -828,11 +828,24 @@ I like automatic completion, but it’s nice to also have a key to trigger compl `(company-tooltip-common ((t (:inherit font-lock-constant-face)))))) #+END_SRC +I also use snippets for commonly typed expressions. + +#+BEGIN_SRC elisp :noweb-ref yas +(yas-global-mode 1) +#+END_SRC + +Load all of this lazily. + #+BEGIN_SRC elisp :noweb-ref completion-lazy (with-eval-after-load "company" <> ) <> + +(with-eval-after-load "yasnippet" + <> + ) +(require 'yasnippet) #+END_SRC * Pretty symbols -- cgit v1.2.3