This website works better with JavaScript.
Home
Explore
Help
Sign In
mitchty
/
dotfiles
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Add yasnippet back into the fold
master
Mitch Tishmack
10 years ago
parent
a730d2a272
commit
4d70753f17
1 changed files
with
22 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
Write
Preview
Loading…
Cancel
Save