lang/rust: fix documentation lookup handler #1374
This commit is contained in:
parent
6bd6c1623b
commit
f20f477a44
2 changed files with 11 additions and 3 deletions
|
@ -21,9 +21,9 @@
|
|||
:after rust-mode
|
||||
:config
|
||||
(add-hook 'rust-mode-hook #'racer-mode)
|
||||
(set-lookup-handlers! 'rust-mode :async t
|
||||
:definition #'racer-find-definition
|
||||
:documentation #'racer-describe))
|
||||
(set-lookup-handlers! 'rust-mode
|
||||
:definition '(racer-find-definition :async t)
|
||||
:documentation '+rust-racer-lookup-documentation))
|
||||
|
||||
|
||||
(def-package! flycheck-rust
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue