Preliminary add eglot code actions to embark.

This commit is contained in:
2026-01-11 13:32:16 +09:00
parent 7a7b2c2c8b
commit 672d44014f

View File

@@ -121,11 +121,16 @@
:bind :bind
(("C-." . embark-act) ;; pick some comfortable binding (("C-." . embark-act) ;; pick some comfortable binding
("C-;" . embark-dwim) ;; good alternative: M-. ("C-;" . embark-dwim) ;; good alternative: M-.
("C-h B" . embark-bindings)) ;; alternative for `describe-bindings' ("C-h B" . embark-bindings) ;; alternative for `describe-bindings'
:map embark-flymake-map
("a" . eglot-code-actions))
:init :init
(setq prefix-help-command #'embark-prefix-help-command) (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 :config
;; Hide the mode line of the Embark live/completions buffers ;; Hide the mode line of the Embark live/completions buffers
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist