Ensure that identifier-at-point is the first target found by embark
This commit is contained in:
parent
30c22902b3
commit
0124fa4071
@ -62,6 +62,9 @@
|
|||||||
;; Embark adds context actions to completion candidates (and other things!)
|
;; Embark adds context actions to completion candidates (and other things!)
|
||||||
(use-package embark
|
(use-package embark
|
||||||
:config
|
:config
|
||||||
|
;; Make sure identifier at point is the first target
|
||||||
|
(setq embark-target-finders (remove 'embark-target-identifier-at-point embark-target-finders))
|
||||||
|
(add-to-list 'embark-target-finders 'embark-target-identifier-at-point)
|
||||||
(defun embark-which-key-indicator ()
|
(defun embark-which-key-indicator ()
|
||||||
"An embark indicator that displays keymaps using which-key.
|
"An embark indicator that displays keymaps using which-key.
|
||||||
The which-key help message will show the type and value of the
|
The which-key help message will show the type and value of the
|
||||||
|
Loading…
Reference in New Issue
Block a user