Replace :lookup with set-lookup-handlers! autodef
And update all internal references.
This commit is contained in:
parent
bfdc00cf42
commit
c0251aacee
17 changed files with 43 additions and 37 deletions
|
@ -105,7 +105,7 @@
|
|||
(set-company-backend! 'tide-mode 'company-tide)
|
||||
|
||||
;; navigation
|
||||
(set! :lookup 'tide-mode
|
||||
(set-lookup-handlers! 'tide-mode
|
||||
:definition #'tide-jump-to-definition
|
||||
:references #'tide-references
|
||||
:documentation #'tide-documentation-at-point)
|
||||
|
@ -158,7 +158,7 @@
|
|||
(def-package! xref-js2
|
||||
:when (featurep! :feature lookup)
|
||||
:commands xref-js2-xref-backend
|
||||
:init (set! :lookup 'js2-mode :xref-backend #'xref-js2-xref-backend))
|
||||
:init (set-lookup-handlers! 'js2-mode :xref-backend #'xref-js2-xref-backend))
|
||||
|
||||
|
||||
(def-package! js2-refactor
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue