diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2018-07-05 15:02:27 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2018-07-05 15:02:27 +0200 |
commit | 714dca71b081ad3bf56046551b413b2829659e4b (patch) | |
tree | fd10aaadb6fe3c20ee0c1c70a228363581afb423 /init.org | |
parent | bc30a8068b7dfe432b991b56e65e3b59f35c67c1 (diff) |
Enable yasnippet.
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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" <<completion>> ) <<company-hook>> + +(with-eval-after-load "yasnippet" + <<yas>> + ) +(require 'yasnippet) #+END_SRC * Pretty symbols |