summaryrefslogtreecommitdiff
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org13
1 files changed, 13 insertions, 0 deletions
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"
<<completion>>
)
<<company-hook>>
+
+(with-eval-after-load "yasnippet"
+ <<yas>>
+ )
+(require 'yasnippet)
#+END_SRC
* Pretty symbols