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