diff options
| author | Christian Cunningham <cc@local.lan> | 2024-06-04 18:27:31 -0700 |
|---|---|---|
| committer | Christian Cunningham <cc@local.lan> | 2024-06-04 18:27:31 -0700 |
| commit | db66caa3882799322f5ef685fd434047175ae766 (patch) | |
| tree | 9de12c2825e0a1321993f56815db4bdd953e881b | |
| parent | 3c4ebeecb33446f8822840554edff2c565d64c6b (diff) | |
Add Yasnippet
| -rw-r--r-- | elchemy-package-yasnippet.el | 8 | ||||
| -rw-r--r-- | elchemy-packages.el | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/elchemy-package-yasnippet.el b/elchemy-package-yasnippet.el new file mode 100644 index 0000000..831a1bf --- /dev/null +++ b/elchemy-package-yasnippet.el @@ -0,0 +1,8 @@ +(use-package yasnippet + :ensure t + :init + (add-hook 'python-ts-mode-hook #'yas-minor-mode) + :config + (setq yas-snippet-dirs '("~/.elchemy/snippets/"))) + +(provide 'elchemy-package-yasnippet) diff --git a/elchemy-packages.el b/elchemy-packages.el index 8a6b0c1..15cfc34 100644 --- a/elchemy-packages.el +++ b/elchemy-packages.el @@ -24,6 +24,8 @@ show-parent-when-point-in-periphery t)) ;; Ido Completions (require 'elchemy-package-ido) +;; Snippets +(require 'elchemy-package-yasnippet) ;; HTML Highlighting (use-package htmlize :ensure t) |
