diff options
-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 |