Browse Source

Add yasnippet back into the fold

master
Mitch Tishmack 10 years ago
parent
commit
4d70753f17
1 changed files with 22 additions and 0 deletions
  1. +22
    -0
      emacs.org

+ 22
- 0
emacs.org View File

@@ -504,6 +504,28 @@ Turns out that someone wrote this exact thing already. Yay get to drop my own cr
)
#+END_SRC

*** yasnippet
#+BEGIN_SRC emacs-lisp
(use-package yasnippet
:ensure t
:init
(progn
(setq yas-snippet-dirs
'("~/.emacs.d/snippets"
"~/.emacs.d/snippets-upstream"
)))
:config
(progn
(yas/reload-all)
(add-hook 'prog-mode-hook
'(lambda ()
(yas-minor-mode)))
(add-hook 'org-mode-hook
'(lambda ()
(yas-minor-mode))))
)
#+END_SRC

*** semantic

#+BEGIN_SRC emacs-lisp


Loading…
Cancel
Save