diff --git a/.config.d/10-completion.el b/.config.d/10-completion.el index 953cce7..ec38ef9 100644 --- a/.config.d/10-completion.el +++ b/.config.d/10-completion.el @@ -119,13 +119,18 @@ embark-bindings embark-prefix-help-command) :bind - (("C-." . embark-act) ;; pick some comfortable binding - ("C-;" . embark-dwim) ;; good alternative: M-. - ("C-h B" . embark-bindings)) ;; alternative for `describe-bindings' + (("C-." . embark-act) ;; pick some comfortable binding + ("C-;" . embark-dwim) ;; good alternative: M-. + ("C-h B" . embark-bindings) ;; alternative for `describe-bindings' + :map embark-flymake-map + ("a" . eglot-code-actions)) :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