trying to add snippet completion but it isn't working yet

This commit is contained in:
Matt Nish-Lapidus 2023-10-29 11:40:36 -04:00
parent 7f8913ba5c
commit 2fd726f5e2

View file

@ -41,6 +41,11 @@
(call-interactively #'consult-yasnippet)) (call-interactively #'consult-yasnippet))
(t (call-interactively #'yas-insert-snippet)))) (t (call-interactively #'yas-insert-snippet))))
(use-package! yasnippet-capf
:after cape
:config
(add-to-list 'completion-at-point-functions #'yasnippet-capf))
;; set default frame size on launch ;; set default frame size on launch
(setq default-frame-alist '( (left . 0) (top . 0) (height . 48) (width . 160) )) (setq default-frame-alist '( (left . 0) (top . 0) (height . 48) (width . 160) ))