Fix embark, add tempel

This commit is contained in:
2026-01-21 17:37:44 +09:00
parent 672d44014f
commit 2b65287a62
4 changed files with 51 additions and 18 deletions

View File

@@ -53,7 +53,7 @@
;; completion-at-point-functions (Capfs).
(use-package cape
:ensure t
:defer t
:defer nil
:commands (cape-dabbrev cape-file cape-elisp-block)
:bind ("C-c p" . cape-prefix-map)
:init
@@ -127,16 +127,17 @@
:init
(setq prefix-help-command #'embark-prefix-help-command)
(push 'embark--allow-edit
(alist-get 'eglot-code-actions embark-target-injection-hooks))
(push 'embark--ignore-target
(alist-get 'eglot-code-actions embark-target-injection-hooks))
:config
;; Hide the mode line of the Embark live/completions buffers
(add-to-list 'display-buffer-alist
'("\\`\\*Embark Collect \\(Live\\|Completions\\)\\*"
nil
(window-parameters (mode-line-format . none)))))
(window-parameters (mode-line-format . none))))
(push 'embark--allow-edit
(alist-get 'eglot-code-actions embark-target-injection-hooks))
(push 'embark--ignore-target
(alist-get 'eglot-code-actions embark-target-injection-hooks)))
;; This package provides some integrations between the emabrk and
;; consult packages.