From 282ef3f94cf2ab04bc3cf39c5ed8d8a0ea2c4c9e Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 10 Sep 2024 00:10:02 +0200 Subject: emacs: Temporarily use yasnippet --- .config/emacs/init.el | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 37f315d..2999736 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -459,6 +459,18 @@ existing grammars." (λ (add-hook 'completion-at-point-functions #'tempel-complete -10 'local))))) +;; NOTE: This will be removed eventually, it’s only here until +;; eglot-tempel is fixed. +(use-package yasnippet + :after eglot) + +;; (use-package eglot-tempel +;; :init +;; (with-eval-after-load 'eglot +;; (add-hook 'eglot-managed-mode-hook +;; (λ (unless (default-value eglot-tempel-mode) +;; (eglot-tempel-mode)))))) + ;;; Automatically Create Directories (defun x-auto-create-directories (original-function filename &rest arguments) "Automatically create and delete parent directories of files. This -- cgit v1.2.3