Preliminary add eglot code actions to embark.
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user