summaryrefslogtreecommitdiff
path: root/elchemy-package-yasnippet.el
diff options
context:
space:
mode:
authorChristian Cunningham <cc@local.lan>2024-06-04 18:27:31 -0700
committerChristian Cunningham <cc@local.lan>2024-06-04 18:27:31 -0700
commitdb66caa3882799322f5ef685fd434047175ae766 (patch)
tree9de12c2825e0a1321993f56815db4bdd953e881b /elchemy-package-yasnippet.el
parent3c4ebeecb33446f8822840554edff2c565d64c6b (diff)
Add Yasnippet
Diffstat (limited to 'elchemy-package-yasnippet.el')
-rw-r--r--elchemy-package-yasnippet.el8
1 files changed, 8 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)