summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-10 00:10:02 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-10 00:10:02 +0200
commit282ef3f94cf2ab04bc3cf39c5ed8d8a0ea2c4c9e (patch)
tree8795ff810bcc658666582a3de46a5475a47d1ff2 /.config/emacs
parent891f416946868e86d19b87e6b811baad1c726290 (diff)
emacs: Temporarily use yasnippet
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/init.el12
1 files changed, 12 insertions, 0 deletions
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