Add a keybinding to open rustdocs in browser
This commit is contained in:
parent
bc85de1ad5
commit
908222a1b9
@ -3,6 +3,9 @@
|
||||
(use-package rust-mode
|
||||
:mode (("\\.rs\\'" . rust-mode))
|
||||
:config
|
||||
(add-hook 'rust-mode-hook 'lsp-deferred))
|
||||
(add-hook 'rust-mode-hook 'lsp-deferred)
|
||||
(with-eval-after-load 'lsp-rust
|
||||
(general-def rust-mode-map
|
||||
"C-c C-c C-d" 'lsp-rust-analyzer-open-external-docs)))
|
||||
|
||||
(provide 'init-rust)
|
||||
|
Loading…
Reference in New Issue
Block a user